home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: Tape Archive
(archive/tar).
You can browse this item here: xv2r1.tar
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| Tape Archive (archive/tar)
| magic
| Supported |
100%
| file
| tar archive
| default
| |
99%
| file
| tar archive (old), directory xv2r1/, mode 040755, uid 035731, gid 000000, size 00000000000, seconds 05070471167, comment: 0
| default
| |
98%
| file
| data
| default
| |
65%
| TrID
| Sybase iAnywhere database files
| default (weak)
| |
34%
| TrID
| TAR - Tape ARchive (directory)
| default
| |
100%
| lsar
| Tar
| default
| |
100%
| gt2
| TAR Archiv gefunden (Auflistung ist deaktiviert)
| default
| |
100%
| disktype
| Pre-POSIX tar archive
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 78 76 32 72 31 2f 00 00 | 00 00 00 00 00 00 00 00 |xv2r1/..|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000060| 00 00 00 00 30 34 30 37 | 35 35 00 00 30 33 35 37 |....0407|55..0357|
|00000070| 33 31 00 00 30 30 30 30 | 30 30 00 00 30 30 30 30 |31..0000|00..0000|
|00000080| 30 30 30 30 30 30 30 00 | 30 35 30 37 30 34 37 31 |0000000.|05070471|
|00000090| 31 36 37 00 30 31 30 31 | 32 35 00 20 35 00 00 00 |167.0101|25. 5...|
|000000a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 20 20 20 20 20 30 00 | 00 64 63 63 00 00 00 00 |. 0.|.dcc....|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 73 79 73 74 65 6d 00 |........|.system.|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 20 31 00 20 30 00 |........|.. 1. 0.|
|00000160| 20 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 | .......|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 78 76 32 72 31 2f 52 45 | 41 44 4d 45 00 00 00 00 |xv2r1/RE|ADME....|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 31 30 30 36 | 34 34 00 00 30 33 35 37 |....1006|44..0357|
|00000270| 33 31 00 00 30 30 30 30 | 30 30 00 00 30 30 30 30 |31..0000|00..0000|
|00000280| 30 30 31 35 37 37 36 00 | 30 35 30 37 30 34 37 31 |0015776.|05070471|
|00000290| 30 37 30 00 30 30 37 30 | 37 34 00 20 30 00 00 00 |070.0070|74. 0...|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 20 20 20 20 20 30 00 | 00 00 00 00 00 00 00 00 |. 0.|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000350| 00 00 00 00 00 00 00 00 | 00 00 20 31 00 20 30 00 |........|.. 1. 0.|
|00000360| 20 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 | .......|........|
|00000370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000400| 2f 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |/*******|********|
|00000410| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000420| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000430| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 0a 43 6f 70 |********|****.Cop|
|00000440| 79 72 69 67 68 74 20 31 | 39 39 31 20 62 79 20 44 |yright 1|991 by D|
|00000450| 69 67 69 74 61 6c 20 45 | 71 75 69 70 6d 65 6e 74 |igital E|quipment|
|00000460| 20 43 6f 72 70 6f 72 61 | 74 69 6f 6e 2c 20 4d 61 | Corpora|tion, Ma|
|00000470| 79 6e 61 72 64 2c 20 4d | 61 73 73 61 63 68 75 73 |ynard, M|assachus|
|00000480| 65 74 74 73 2c 0a 61 6e | 64 20 74 68 65 20 4d 61 |etts,.an|d the Ma|
|00000490| 73 73 61 63 68 75 73 65 | 74 74 73 20 49 6e 73 74 |ssachuse|tts Inst|
|000004a0| 69 74 75 74 65 20 6f 66 | 20 54 65 63 68 6e 6f 6c |itute of| Technol|
|000004b0| 6f 67 79 2c 20 43 61 6d | 62 72 69 64 67 65 2c 20 |ogy, Cam|bridge, |
|000004c0| 4d 61 73 73 61 63 68 75 | 73 65 74 74 73 2e 0a 0a |Massachu|setts...|
|000004d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000004e0| 20 20 20 20 20 20 20 20 | 41 6c 6c 20 52 69 67 68 | |All Righ|
|000004f0| 74 73 20 52 65 73 65 72 | 76 65 64 0a 0a 50 65 72 |ts Reser|ved..Per|
|00000500| 6d 69 73 73 69 6f 6e 20 | 74 6f 20 75 73 65 2c 20 |mission |to use, |
|00000510| 63 6f 70 79 2c 20 6d 6f | 64 69 66 79 2c 20 61 6e |copy, mo|dify, an|
|00000520| 64 20 64 69 73 74 72 69 | 62 75 74 65 20 74 68 69 |d distri|bute thi|
|00000530| 73 20 73 6f 66 74 77 61 | 72 65 20 61 6e 64 20 69 |s softwa|re and i|
|00000540| 74 73 20 0a 64 6f 63 75 | 6d 65 6e 74 61 74 69 6f |ts .docu|mentatio|
|00000550| 6e 20 66 6f 72 20 61 6e | 79 20 70 75 72 70 6f 73 |n for an|y purpos|
|00000560| 65 20 61 6e 64 20 77 69 | 74 68 6f 75 74 20 66 65 |e and wi|thout fe|
|00000570| 65 20 69 73 20 68 65 72 | 65 62 79 20 67 72 61 6e |e is her|eby gran|
|00000580| 74 65 64 2c 20 0a 70 72 | 6f 76 69 64 65 64 20 74 |ted, .pr|ovided t|
|00000590| 68 61 74 20 74 68 65 20 | 61 62 6f 76 65 20 63 6f |hat the |above co|
|000005a0| 70 79 72 69 67 68 74 20 | 6e 6f 74 69 63 65 20 61 |pyright |notice a|
|000005b0| 70 70 65 61 72 20 69 6e | 20 61 6c 6c 20 63 6f 70 |ppear in| all cop|
|000005c0| 69 65 73 20 61 6e 64 20 | 74 68 61 74 0a 62 6f 74 |ies and |that.bot|
|000005d0| 68 20 74 68 61 74 20 63 | 6f 70 79 72 69 67 68 74 |h that c|opyright|
|000005e0| 20 6e 6f 74 69 63 65 20 | 61 6e 64 20 74 68 69 73 | notice |and this|
|000005f0| 20 70 65 72 6d 69 73 73 | 69 6f 6e 20 6e 6f 74 69 | permiss|ion noti|
|00000600| 63 65 20 61 70 70 65 61 | 72 20 69 6e 20 0a 73 75 |ce appea|r in .su|
|00000610| 70 70 6f 72 74 69 6e 67 | 20 64 6f 63 75 6d 65 6e |pporting| documen|
|00000620| 74 61 74 69 6f 6e 2c 20 | 61 6e 64 20 74 68 61 74 |tation, |and that|
|00000630| 20 74 68 65 20 6e 61 6d | 65 73 20 6f 66 20 44 69 | the nam|es of Di|
|00000640| 67 69 74 61 6c 20 6f 72 | 20 4d 49 54 20 6e 6f 74 |gital or| MIT not|
|00000650| 20 62 65 0a 75 73 65 64 | 20 69 6e 20 61 64 76 65 | be.used| in adve|
|00000660| 72 74 69 73 69 6e 67 20 | 6f 72 20 70 75 62 6c 69 |rtising |or publi|
|00000670| 63 69 74 79 20 70 65 72 | 74 61 69 6e 69 6e 67 20 |city per|taining |
|00000680| 74 6f 20 64 69 73 74 72 | 69 62 75 74 69 6f 6e 20 |to distr|ibution |
|00000690| 6f 66 20 74 68 65 0a 73 | 6f 66 74 77 61 72 65 20 |of the.s|oftware |
|000006a0| 77 69 74 68 6f 75 74 20 | 73 70 65 63 69 66 69 63 |without |specific|
|000006b0| 2c 20 77 72 69 74 74 65 | 6e 20 70 72 69 6f 72 20 |, writte|n prior |
|000006c0| 70 65 72 6d 69 73 73 69 | 6f 6e 2e 20 20 0a 0a 44 |permissi|on. ..D|
|000006d0| 49 47 49 54 41 4c 20 44 | 49 53 43 4c 41 49 4d 53 |IGITAL D|ISCLAIMS|
|000006e0| 20 41 4c 4c 20 57 41 52 | 52 41 4e 54 49 45 53 20 | ALL WAR|RANTIES |
|000006f0| 57 49 54 48 20 52 45 47 | 41 52 44 20 54 4f 20 54 |WITH REG|ARD TO T|
|00000700| 48 49 53 20 53 4f 46 54 | 57 41 52 45 2c 20 49 4e |HIS SOFT|WARE, IN|
|00000710| 43 4c 55 44 49 4e 47 0a | 41 4c 4c 20 49 4d 50 4c |CLUDING.|ALL IMPL|
|00000720| 49 45 44 20 57 41 52 52 | 41 4e 54 49 45 53 20 4f |IED WARR|ANTIES O|
|00000730| 46 20 4d 45 52 43 48 41 | 4e 54 41 42 49 4c 49 54 |F MERCHA|NTABILIT|
|00000740| 59 20 41 4e 44 20 46 49 | 54 4e 45 53 53 2c 20 49 |Y AND FI|TNESS, I|
|00000750| 4e 20 4e 4f 20 45 56 45 | 4e 54 20 53 48 41 4c 4c |N NO EVE|NT SHALL|
|00000760| 0a 44 49 47 49 54 41 4c | 20 42 45 20 4c 49 41 42 |.DIGITAL| BE LIAB|
|00000770| 4c 45 20 46 4f 52 20 41 | 4e 59 20 53 50 45 43 49 |LE FOR A|NY SPECI|
|00000780| 41 4c 2c 20 49 4e 44 49 | 52 45 43 54 20 4f 52 20 |AL, INDI|RECT OR |
|00000790| 43 4f 4e 53 45 51 55 45 | 4e 54 49 41 4c 20 44 41 |CONSEQUE|NTIAL DA|
|000007a0| 4d 41 47 45 53 20 4f 52 | 0a 41 4e 59 20 44 41 4d |MAGES OR|.ANY DAM|
|000007b0| 41 47 45 53 20 57 48 41 | 54 53 4f 45 56 45 52 20 |AGES WHA|TSOEVER |
|000007c0| 52 45 53 55 4c 54 49 4e | 47 20 46 52 4f 4d 20 4c |RESULTIN|G FROM L|
|000007d0| 4f 53 53 20 4f 46 20 55 | 53 45 2c 20 44 41 54 41 |OSS OF U|SE, DATA|
|000007e0| 20 4f 52 20 50 52 4f 46 | 49 54 53 2c 0a 57 48 45 | OR PROF|ITS,.WHE|
|000007f0| 54 48 45 52 20 49 4e 20 | 41 4e 20 41 43 54 49 4f |THER IN |AN ACTIO|
|00000800| 4e 20 4f 46 20 43 4f 4e | 54 52 41 43 54 2c 20 4e |N OF CON|TRACT, N|
|00000810| 45 47 4c 49 47 45 4e 43 | 45 20 4f 52 20 4f 54 48 |EGLIGENC|E OR OTH|
|00000820| 45 52 20 54 4f 52 54 49 | 4f 55 53 20 41 43 54 49 |ER TORTI|OUS ACTI|
|00000830| 4f 4e 2c 0a 41 52 49 53 | 49 4e 47 20 4f 55 54 20 |ON,.ARIS|ING OUT |
|00000840| 4f 46 20 4f 52 20 49 4e | 20 43 4f 4e 4e 45 43 54 |OF OR IN| CONNECT|
|00000850| 49 4f 4e 20 57 49 54 48 | 20 54 48 45 20 55 53 45 |ION WITH| THE USE|
|00000860| 20 4f 52 20 50 45 52 46 | 4f 52 4d 41 4e 43 45 20 | OR PERF|ORMANCE |
|00000870| 4f 46 20 54 48 49 53 0a | 53 4f 46 54 57 41 52 45 |OF THIS.|SOFTWARE|
|00000880| 2e 0a 0a 58 20 57 69 6e | 64 6f 77 20 53 79 73 74 |...X Win|dow Syst|
|00000890| 65 6d 20 69 73 20 61 20 | 74 72 61 64 65 6d 61 72 |em is a |trademar|
|000008a0| 6b 20 6f 66 20 4d 61 73 | 73 61 63 68 75 73 65 74 |k of Mas|sachuset|
|000008b0| 74 73 20 49 6e 73 74 69 | 74 75 74 65 20 6f 66 20 |ts Insti|tute of |
|000008c0| 54 65 63 68 6e 6f 6c 6f | 67 79 2e 0a 52 61 73 74 |Technolo|gy..Rast|
|000008d0| 65 72 4f 70 73 20 69 73 | 20 61 20 72 65 67 69 73 |erOps is| a regis|
|000008e0| 74 65 72 65 64 20 74 72 | 61 64 65 6d 61 72 6b 20 |tered tr|ademark |
|000008f0| 6f 66 20 52 61 73 74 65 | 72 4f 70 73 20 43 6f 72 |of Raste|rOps Cor|
|00000900| 70 6f 72 61 74 69 6f 6e | 2e 0a 0a 2a 2a 2a 2a 2a |poration|...*****|
|00000910| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000920| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000930| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00000940| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2f 0a 2f |********|*****/./|
|00000950| 2a 0a 2a 2a 20 46 69 6c | 65 3a 20 0a 2a 2a 0a 2a |*.** Fil|e: .**.*|
|00000960| 2a 20 20 20 52 45 41 44 | 4d 45 20 2d 2d 2d 20 47 |* READ|ME --- G|
|00000970| 75 69 64 65 20 74 6f 20 | 62 75 69 6c 64 69 6e 67 |uide to |building|
|00000980| 20 58 76 20 69 6e 74 6f | 20 79 6f 75 72 20 58 20 | Xv into| your X |
|00000990| 57 69 6e 64 6f 77 20 53 | 79 73 74 65 6d 28 54 4d |Window S|ystem(TM|
|000009a0| 29 0a 2a 2a 0a 2a 2a 20 | 20 20 20 20 20 20 20 20 |).**.** | |
|000009b0| 20 20 20 20 20 54 68 65 | 20 6b 69 74 20 4e 6f 77 | The| kit Now|
|000009c0| 20 69 6e 63 6c 75 64 65 | 73 20 61 20 66 75 6c 6c | include|s a full|
|000009d0| 20 73 61 6d 70 6c 65 20 | 73 65 72 76 65 72 20 69 | sample |server i|
|000009e0| 6d 70 6c 65 6d 65 6e 74 | 61 74 69 6f 6e 20 0a 2a |mplement|ation .*|
|000009f0| 2a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 66 |* | f|
|00000a00| 6f 72 20 74 68 65 20 44 | 45 43 53 74 61 74 69 6f |or the D|ECStatio|
|00000a10| 6e 20 35 30 30 30 2f 54 | 58 20 28 52 61 73 74 65 |n 5000/T|X (Raste|
|00000a20| 72 4f 70 73 29 20 64 69 | 73 70 6c 61 79 2e 0a 2a |rOps) di|splay..*|
|00000a30| 2a 0a 2a 2a 20 20 20 20 | 20 20 20 20 20 20 20 20 |*.** | |
|00000a40| 20 20 49 20 77 61 6e 74 | 20 74 6f 20 61 63 6b 6e | I want| to ackn|
|00000a50| 6f 77 6c 65 64 67 65 20 | 74 68 65 20 67 72 65 61 |owledge |the grea|
|00000a60| 74 20 65 66 66 6f 72 74 | 73 20 6f 66 20 45 64 20 |t effort|s of Ed |
|00000a70| 47 6f 65 69 0a 2a 2a 20 | 20 20 20 20 20 20 20 20 |Goei.** | |
|00000a80| 20 20 20 20 20 28 44 69 | 67 69 74 61 6c 27 73 20 | (Di|gital's |
|00000a90| 57 65 73 74 65 72 6e 20 | 53 6f 66 74 77 61 72 65 |Western |Software|
|00000aa0| 20 4c 61 62 73 29 2c 20 | 69 6e 20 63 6f 6e 74 72 | Labs), |in contr|
|00000ab0| 69 62 75 74 69 6e 67 0a | 2a 2a 20 20 20 20 20 20 |ibuting.|** |
|00000ac0| 20 20 20 20 20 20 20 20 | 74 68 65 20 54 58 20 64 | |the TX d|
|00000ad0| 65 76 69 63 65 20 73 75 | 70 70 6f 72 74 20 63 6f |evice su|pport co|
|00000ae0| 64 65 2e 0a 2a 2a 20 20 | 20 20 20 20 20 20 20 20 |de..** | |
|00000af0| 20 20 20 20 0a 2a 2a 20 | 41 75 74 68 6f 72 3a 20 | .** |Author: |
|00000b00| 0a 2a 2a 0a 2a 2a 20 20 | 20 44 61 76 69 64 20 43 |.**.** | David C|
|00000b10| 61 72 76 65 72 20 28 44 | 69 67 69 74 61 6c 20 57 |arver (D|igital W|
|00000b20| 6f 72 6b 73 74 61 74 69 | 6f 6e 20 45 6e 67 69 6e |orkstati|on Engin|
|00000b30| 65 65 72 69 6e 67 2f 50 | 72 6f 6a 65 63 74 20 41 |eering/P|roject A|
|00000b40| 74 68 65 6e 61 29 0a 2a | 2a 0a 2a 2f 0a 0a 20 20 |thena).*|*.*/.. |
|00000b50| 20 20 20 20 20 54 68 65 | 20 58 76 20 64 69 73 74 | The| Xv dist|
|00000b60| 72 69 62 75 74 69 6f 6e | 20 6b 69 74 20 63 6f 6e |ribution| kit con|
|00000b70| 74 61 69 6e 73 20 61 6e | 20 58 76 20 65 78 74 65 |tains an| Xv exte|
|00000b80| 6e 73 69 6f 6e 20 73 6f | 75 72 63 65 20 74 72 65 |nsion so|urce tre|
|00000b90| 65 0a 20 20 61 6e 64 20 | 61 20 63 6f 72 65 20 73 |e. and |a core s|
|00000ba0| 65 72 76 65 72 20 74 72 | 65 65 20 77 68 69 63 68 |erver tr|ee which|
|00000bb0| 20 63 6f 6e 74 61 69 6e | 73 20 66 69 6c 65 73 20 | contain|s files |
|00000bc0| 74 68 61 74 20 77 65 72 | 65 20 6d 6f 64 69 66 69 |that wer|e modifi|
|00000bd0| 65 64 20 74 6f 0a 20 20 | 6c 69 6e 6b 20 74 68 65 |ed to. |link the|
|00000be0| 20 58 76 20 73 65 72 76 | 65 72 20 69 6e 74 6f 20 | Xv serv|er into |
|00000bf0| 61 6e 20 58 31 31 52 35 | 20 73 65 72 76 65 72 2e |an X11R5| server.|
|00000c00| 0a 0a 20 20 54 68 69 73 | 20 64 69 73 74 72 69 62 |.. This| distrib|
|00000c10| 75 74 69 6f 6e 20 61 6c | 73 6f 20 63 6f 6e 74 61 |ution al|so conta|
|00000c20| 69 6e 73 20 74 68 65 20 | 66 69 6c 65 73 20 6e 65 |ins the |files ne|
|00000c30| 63 65 73 73 61 72 79 20 | 74 6f 20 62 75 69 6c 64 |cessary |to build|
|00000c40| 20 74 68 65 20 58 74 78 | 0a 20 20 73 65 72 76 65 | the Xtx|. serve|
|00000c50| 72 20 66 6f 72 20 61 20 | 44 45 43 53 74 61 74 69 |r for a |DECStati|
|00000c60| 6f 6e 35 30 30 30 2f 52 | 61 73 74 65 72 4f 70 73 |on5000/R|asterOps|
|00000c70| 20 64 69 73 70 6c 61 79 | 20 72 75 6e 6e 69 6e 67 | display| running|
|00000c80| 20 61 20 76 65 72 73 69 | 6f 6e 20 6f 66 0a 20 20 | a versi|on of. |
|00000c90| 55 4c 54 52 49 58 20 6e | 65 77 65 72 20 74 68 61 |ULTRIX n|ewer tha|
|00000ca0| 6e 20 34 2e 32 2e 20 20 | 54 68 65 73 65 20 6d 6f |n 4.2. |These mo|
|00000cb0| 64 75 6c 65 73 20 69 6e | 63 6c 75 64 65 0a 0a 09 |dules in|clude...|
|00000cc0| 64 64 78 2f 63 66 62 33 | 32 09 09 09 2f 2a 20 32 |ddx/cfb3|2.../* 2|
|00000cd0| 34 20 70 6c 61 6e 65 20 | 64 72 61 77 69 6e 67 20 |4 plane |drawing |
|00000ce0| 63 6f 64 65 20 2a 2f 0a | 09 64 64 78 2f 64 65 63 |code */.|.ddx/dec|
|00000cf0| 2f 74 78 09 09 09 2f 2a | 20 64 69 73 70 6c 61 79 |/tx.../*| display|
|00000d00| 20 73 70 65 63 69 66 69 | 63 20 63 6f 64 65 20 2a | specifi|c code *|
|00000d10| 2f 0a 09 64 64 78 2f 64 | 65 63 2f 77 73 09 09 09 |/..ddx/d|ec/ws...|
|00000d20| 2f 2a 20 62 69 6e 64 69 | 6e 67 20 74 6f 20 77 73 |/* bindi|ng to ws|
|00000d30| 20 69 6e 74 65 72 66 61 | 63 65 20 2a 2f 0a 0a 20 | interfa|ce */.. |
|00000d40| 20 49 74 20 73 68 6f 75 | 6c 64 20 62 65 20 6e 6f | It shou|ld be no|
|00000d50| 74 65 64 20 74 68 61 74 | 20 74 68 69 73 20 63 6f |ted that| this co|
|00000d60| 64 65 20 68 61 73 6e 27 | 74 20 62 65 65 6e 20 77 |de hasn'|t been w|
|00000d70| 65 6c 6c 20 74 65 73 74 | 65 64 2e 20 20 49 74 20 |ell test|ed. It |
|00000d80| 69 73 0a 20 20 70 72 6f | 76 69 64 65 64 20 62 65 |is. pro|vided be|
|00000d90| 63 61 75 73 65 20 69 74 | 20 6d 69 67 68 74 20 62 |cause it| might b|
|00000da0| 65 20 75 73 65 66 75 6c | 20 69 6e 20 70 6f 72 74 |e useful| in port|
|00000db0| 69 6e 67 20 73 6f 66 74 | 77 61 72 65 20 74 6f 20 |ing soft|ware to |
|00000dc0| 73 69 6d 69 6c 61 72 0a | 20 20 64 69 73 70 6c 61 |similar.| displa|
|00000dd0| 79 20 73 79 73 74 65 6d | 73 2e 20 20 54 68 65 20 |y system|s. The |
|00000de0| 32 34 20 70 6c 61 6e 65 | 20 64 72 61 77 69 6e 67 |24 plane| drawing|
|00000df0| 20 63 6f 64 65 20 69 73 | 20 72 65 61 6c 6c 79 20 | code is| really |
|00000e00| 74 68 65 20 63 66 62 0a | 20 20 64 72 61 77 69 6e |the cfb.| drawin|
|00000e10| 67 20 63 6f 64 65 20 63 | 6f 6d 70 69 6c 65 64 20 |g code c|ompiled |
|00000e20| 66 6f 72 20 32 34 20 70 | 6c 61 6e 65 73 2c 20 77 |for 24 p|lanes, w|
|00000e30| 69 74 68 20 61 20 66 65 | 77 20 6d 6f 64 69 66 69 |ith a fe|w modifi|
|00000e40| 63 61 74 69 6f 6e 73 20 | 66 6f 72 0a 20 20 61 6c |cations |for. al|
|00000e50| 6c 6f 77 69 6e 67 20 74 | 68 65 20 6d 69 78 69 6e |lowing t|he mixin|
|00000e60| 67 20 6f 66 20 38 20 61 | 6e 64 20 32 34 20 70 6c |g of 8 a|nd 24 pl|
|00000e70| 61 6e 20 64 72 61 77 69 | 6e 67 2e 0a 0a 0a 20 20 |an drawi|ng.... |
|00000e80| 58 76 20 43 68 61 6e 67 | 65 73 0a 20 20 2d 2d 2d |Xv Chang|es. ---|
|00000e90| 2d 2d 2d 2d 2d 2d 2d 0a | 0a 20 20 20 20 20 20 4e |-------.|. N|
|00000ea0| 6f 20 63 68 61 6e 67 65 | 73 20 68 61 76 65 20 62 |o change|s have b|
|00000eb0| 65 65 6e 20 6d 61 64 65 | 20 74 6f 20 74 68 65 20 |een made| to the |
|00000ec0| 58 76 20 70 72 6f 74 6f | 63 6f 6c 20 73 69 6e 63 |Xv proto|col sinc|
|00000ed0| 65 20 74 68 65 20 61 6c | 70 68 61 0a 20 20 72 65 |e the al|pha. re|
|00000ee0| 6c 65 61 73 65 20 65 61 | 72 6c 69 65 72 20 69 6e |lease ea|rlier in|
|00000ef0| 20 74 68 65 20 73 75 6d | 6d 65 72 2e 20 20 53 65 | the sum|mer. Se|
|00000f00| 76 65 72 61 6c 20 62 75 | 67 73 20 68 61 76 65 20 |veral bu|gs have |
|00000f10| 62 65 65 6e 20 66 69 78 | 65 64 20 69 6e 20 74 68 |been fix|ed in th|
|00000f20| 65 0a 20 20 52 61 73 74 | 65 72 4f 70 73 20 62 69 |e. Rast|erOps bi|
|00000f30| 6e 64 69 6e 67 73 20 61 | 6e 64 20 62 75 74 20 74 |ndings a|nd but t|
|00000f40| 68 65 20 44 49 20 63 6f | 64 65 20 68 61 73 20 75 |he DI co|de has u|
|00000f50| 6e 64 65 72 67 6f 6e 65 | 20 6d 69 6e 69 6d 61 6c |ndergone| minimal|
|00000f60| 20 63 68 61 6e 67 65 2e | 0a 0a 0a 20 20 58 76 20 | change.|... Xv |
|00000f70| 53 6f 75 72 63 65 73 0a | 20 20 2d 2d 2d 2d 2d 2d |Sources.| ------|
|00000f80| 2d 2d 2d 2d 0a 0a 20 20 | 54 68 65 20 58 76 20 65 |----.. |The Xv e|
|00000f90| 78 74 65 6e 73 69 6f 6e | 20 73 6f 75 72 63 65 20 |xtension| source |
|00000fa0| 74 72 65 65 20 63 6f 6e | 74 61 69 6e 73 20 74 68 |tree con|tains th|
|00000fb0| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 64 69 72 65 |e follow|ing dire|
|00000fc0| 63 74 6f 72 69 65 73 0a | 0a 09 2e 2f 65 78 74 65 |ctories.|.../exte|
|00000fd0| 6e 73 69 6f 6e 73 2f 78 | 76 0a 09 2e 2f 65 78 74 |nsions/x|v.../ext|
|00000fe0| 65 6e 73 69 6f 6e 73 2f | 78 76 2f 64 6f 63 09 09 |ensions/|xv/doc..|
|00000ff0| 2f 2a 20 6c 69 62 72 61 | 72 79 20 61 6e 64 20 70 |/* libra|ry and p|
|00001000| 72 6f 74 6f 63 6f 6c 20 | 64 6f 63 75 6d 65 6e 74 |rotocol |document|
|00001010| 73 20 2a 2f 0a 09 2e 2f | 65 78 74 65 6e 73 69 6f |s */.../|extensio|
|00001020| 6e 73 2f 78 76 2f 69 6e | 63 6c 75 64 65 09 09 2f |ns/xv/in|clude../|
|00001030| 2a 20 68 65 61 64 65 72 | 20 66 69 6c 65 73 20 2a |* header| files *|
|00001040| 2f 0a 09 2e 2f 65 78 74 | 65 6e 73 69 6f 6e 73 2f |/.../ext|ensions/|
|00001050| 78 76 2f 6c 69 62 09 09 | 2f 2a 20 6c 69 62 72 61 |xv/lib..|/* libra|
|00001060| 72 79 20 6d 6f 64 75 6c | 65 73 20 2a 2f 0a 09 2e |ry modul|es */...|
|00001070| 2f 65 78 74 65 6e 73 69 | 6f 6e 73 2f 78 76 2f 73 |/extensi|ons/xv/s|
|00001080| 65 72 76 65 72 09 09 2f | 2a 20 73 65 72 76 65 72 |erver../|* server|
|00001090| 20 6d 6f 64 75 6c 65 73 | 20 2a 2f 0a 09 2e 2f 65 | modules| */.../e|
|000010a0| 78 74 65 6e 73 69 6f 6e | 73 2f 78 76 2f 74 65 73 |xtension|s/xv/tes|
|000010b0| 74 09 09 2f 2a 20 74 65 | 73 74 20 70 72 6f 67 72 |t../* te|st progr|
|000010c0| 61 6d 73 20 2a 2f 0a 09 | 2e 2f 65 78 74 65 6e 73 |ams */..|./extens|
|000010d0| 69 6f 6e 73 2f 78 76 2f | 6d 61 6e 09 09 2f 2a 20 |ions/xv/|man../* |
|000010e0| 6c 69 62 72 61 72 79 20 | 6d 61 6e 20 70 61 67 65 |library |man page|
|000010f0| 73 20 2a 2f 0a 0a 20 20 | 54 68 65 20 65 78 74 65 |s */.. |The exte|
|00001100| 6e 73 69 6f 6e 20 73 6f | 75 72 63 65 73 20 63 61 |nsion so|urces ca|
|00001110| 6e 20 62 65 20 69 6e 74 | 65 67 72 61 74 65 64 20 |n be int|egrated |
|00001120| 77 69 74 68 20 61 6e 20 | 58 31 31 52 35 20 62 75 |with an |X11R5 bu|
|00001130| 69 6c 64 20 74 72 65 65 | 20 69 6e 0a 20 20 6f 6e |ild tree| in. on|
|00001140| 65 20 6f 66 20 74 77 6f | 20 77 61 79 73 3a 20 65 |e of two| ways: e|
|00001150| 69 74 68 65 72 20 62 79 | 20 6d 6f 76 69 6e 67 20 |ither by| moving |
|00001160| 74 68 65 20 65 6e 74 69 | 72 65 20 64 69 72 65 63 |the enti|re direc|
|00001170| 74 6f 72 79 20 74 72 65 | 65 3a 0a 0a 09 2e 2f 65 |tory tre|e:..../e|
|00001180| 78 74 65 6e 73 69 6f 6e | 73 2f 78 76 20 2d 2d 2d |xtension|s/xv ---|
|00001190| 3e 20 24 28 54 4f 50 29 | 2f 65 78 74 65 6e 73 69 |> $(TOP)|/extensi|
|000011a0| 6f 6e 73 0a 0a 20 20 6f | 72 20 62 79 20 6d 6f 76 |ons.. o|r by mov|
|000011b0| 69 6e 67 20 74 68 65 20 | 69 6e 64 69 76 69 64 75 |ing the |individu|
|000011c0| 61 6c 20 73 75 62 64 69 | 72 65 63 74 6f 72 69 65 |al subdi|rectorie|
|000011d0| 73 20 69 6e 74 6f 20 74 | 68 65 69 72 20 72 65 73 |s into t|heir res|
|000011e0| 70 65 63 74 69 76 65 0a | 20 20 58 31 31 52 35 20 |pective.| X11R5 |
|000011f0| 65 78 74 65 6e 73 69 6f | 6e 20 73 75 62 64 69 72 |extensio|n subdir|
|00001200| 65 63 74 6f 72 69 65 73 | 3a 0a 0a 09 2e 2f 65 78 |ectories|:..../ex|
|00001210| 74 65 6e 73 69 6f 6e 73 | 2f 78 76 2f 73 65 72 76 |tensions|/xv/serv|
|00001220| 65 72 20 2d 2d 2d 3e 20 | 24 28 54 4f 50 29 2f 65 |er ---> |$(TOP)/e|
|00001230| 78 74 65 6e 73 69 6f 6e | 73 2f 73 65 72 76 65 72 |xtension|s/server|
|00001240| 0a 09 2e 2f 65 78 74 65 | 6e 73 69 6f 6e 73 2f 78 |.../exte|nsions/x|
|00001250| 76 2f 6c 69 62 20 2d 2d | 2d 3e 20 24 28 54 4f 50 |v/lib --|-> $(TOP|
|00001260| 29 2f 65 78 74 65 6e 73 | 69 6f 6e 73 2f 6c 69 62 |)/extens|ions/lib|
|00001270| 0a 09 2e 2f 65 78 74 65 | 6e 73 69 6f 6e 73 2f 78 |.../exte|nsions/x|
|00001280| 76 2f 69 6e 63 6c 75 64 | 65 20 2d 2d 2d 3e 20 24 |v/includ|e ---> $|
|00001290| 28 54 4f 50 29 2f 65 78 | 74 65 6e 73 69 6f 6e 73 |(TOP)/ex|tensions|
|000012a0| 2f 69 6e 63 6c 75 64 65 | 0a 09 2e 2f 65 78 74 65 |/include|.../exte|
|000012b0| 6e 73 69 6f 6e 73 2f 78 | 76 2f 74 65 73 74 20 2d |nsions/x|v/test -|
|000012c0| 2d 2d 3e 20 24 28 54 4f | 50 29 2f 65 78 74 65 6e |--> $(TO|P)/exten|
|000012d0| 73 69 6f 6e 73 2f 74 65 | 73 74 0a 0a 20 20 49 6e |sions/te|st.. In|
|000012e0| 20 65 69 74 68 65 72 20 | 63 61 73 65 20 79 6f 75 | either |case you|
|000012f0| 20 6d 75 73 74 20 65 64 | 69 74 20 74 68 65 20 70 | must ed|it the p|
|00001300| 61 72 65 6e 74 20 64 69 | 72 65 63 74 6f 72 79 20 |arent di|rectory |
|00001310| 49 6d 61 6b 65 66 69 6c | 65 28 73 29 20 61 6e 64 |Imakefil|e(s) and|
|00001320| 20 61 64 64 0a 20 20 78 | 76 20 74 6f 20 74 68 65 | add. x|v to the|
|00001330| 20 53 55 42 44 49 52 53 | 20 6d 61 63 72 6f 2e 0a | SUBDIRS| macro..|
|00001340| 0a 20 20 4c 6f 6f 6b 20 | 69 6e 20 2e 2f 65 78 74 |. Look |in ./ext|
|00001350| 65 6e 73 69 6f 6e 73 20 | 74 6f 20 73 65 65 20 68 |ensions |to see h|
|00001360| 6f 77 20 74 68 65 20 66 | 69 72 73 74 20 6d 65 74 |ow the f|irst met|
|00001370| 68 6f 64 20 77 61 73 20 | 69 6d 70 6c 65 6d 65 6e |hod was |implemen|
|00001380| 74 65 64 2e 0a 0a 0a 20 | 20 4e 65 77 20 41 64 61 |ted.... | New Ada|
|00001390| 70 74 6f 72 20 54 79 70 | 65 73 0a 20 20 2d 2d 2d |ptor Typ|es. ---|
|000013a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 0a 0a |--------|------..|
|000013b0| 20 20 46 6f 72 20 6e 65 | 77 20 61 64 61 70 74 6f | For ne|w adapto|
|000013c0| 72 20 74 79 70 65 73 2c | 20 6f 6e 65 20 6f 72 20 |r types,| one or |
|000013d0| 6d 6f 72 65 20 61 64 61 | 70 74 6f 72 20 64 65 70 |more ada|ptor dep|
|000013e0| 65 6e 64 65 6e 74 20 58 | 76 20 66 69 6c 65 73 20 |endent X|v files |
|000013f0| 6d 75 73 74 0a 20 20 62 | 65 20 61 64 64 65 64 20 |must. b|e added |
|00001400| 74 6f 20 74 68 65 20 58 | 76 20 73 65 72 76 65 72 |to the X|v server|
|00001410| 20 64 69 72 65 63 74 6f | 72 79 2e 20 20 54 68 65 | directo|ry. The|
|00001420| 20 58 76 20 73 65 72 76 | 65 72 20 49 6d 61 6b 65 | Xv serv|er Imake|
|00001430| 66 69 6c 65 20 6d 75 73 | 74 0a 20 20 62 65 20 6d |file mus|t. be m|
|00001440| 6f 64 69 66 69 65 64 20 | 74 6f 20 62 75 69 6c 64 |odified |to build|
|00001450| 20 6d 6f 64 75 6c 65 73 | 20 66 6f 72 20 74 68 65 | modules| for the|
|00001460| 20 74 68 65 20 6e 65 77 | 20 61 64 61 70 74 6f 72 | the new| adaptor|
|00001470| 20 74 79 70 65 73 2e 20 | 20 4c 6f 6f 6b 20 69 6e | types. | Look in|
|00001480| 0a 20 20 2e 2f 65 78 74 | 65 6e 73 69 6f 6e 73 2f |. ./ext|ensions/|
|00001490| 78 76 2f 73 65 72 76 65 | 72 2f 49 6d 61 6b 65 66 |xv/serve|r/Imakef|
|000014a0| 69 6c 65 20 74 6f 20 73 | 65 65 20 68 6f 77 20 74 |ile to s|ee how t|
|000014b0| 68 65 20 58 76 20 73 65 | 72 76 65 72 20 49 6d 61 |he Xv se|rver Ima|
|000014c0| 6b 65 66 69 6c 65 0a 20 | 20 69 73 20 73 74 72 75 |kefile. | is stru|
|000014d0| 63 74 75 72 65 64 20 66 | 6f 72 20 65 78 69 73 74 |ctured f|or exist|
|000014e0| 69 6e 67 20 61 64 61 70 | 74 6f 72 73 2e 20 20 0a |ing adap|tors. .|
|000014f0| 0a 20 20 57 65 20 68 61 | 76 65 20 69 6e 63 6c 75 |. We ha|ve inclu|
|00001500| 64 65 64 20 61 6e 20 58 | 76 20 61 64 61 70 74 6f |ded an X|v adapto|
|00001510| 72 20 64 65 70 65 6e 64 | 65 6e 74 20 6d 6f 64 75 |r depend|ent modu|
|00001520| 6c 65 20 66 6f 72 20 74 | 68 65 0a 20 20 52 61 73 |le for t|he. Ras|
|00001530| 74 65 72 4f 70 73 28 54 | 4d 29 20 50 69 63 74 75 |terOps(T|M) Pictu|
|00001540| 72 65 20 49 6e 20 61 20 | 50 69 63 74 75 72 65 2c |re In a |Picture,|
|00001550| 20 6f 72 20 50 49 50 2c | 20 76 69 64 65 6f 20 61 | or PIP,| video a|
|00001560| 64 61 70 74 6f 72 2e 20 | 20 54 68 65 0a 20 20 2e |daptor. | The. .|
|00001570| 2f 65 78 74 65 6e 73 69 | 6f 6e 73 2f 78 76 2f 78 |/extensi|ons/xv/x|
|00001580| 76 72 6f 70 2e 63 20 6d | 6f 64 75 6c 65 73 20 69 |vrop.c m|odules i|
|00001590| 6e 74 65 72 66 61 63 65 | 73 20 77 69 74 68 20 74 |nterface|s with t|
|000015a0| 68 65 20 50 49 50 20 64 | 65 76 69 63 65 0a 20 20 |he PIP d|evice. |
|000015b0| 69 6e 74 65 72 66 61 63 | 65 20 66 6f 75 6e 64 20 |interfac|e found |
|000015c0| 69 6e 20 2e 2f 73 65 72 | 76 65 72 2f 64 64 78 2f |in ./ser|ver/ddx/|
|000015d0| 64 65 63 2f 74 78 20 66 | 6f 72 20 74 68 65 20 44 |dec/tx f|or the D|
|000015e0| 45 43 53 74 61 74 69 6f | 6e 20 35 30 30 30 2e 0a |ECStatio|n 5000..|
|000015f0| 0a 0a 20 20 4d 6f 64 69 | 66 69 65 64 20 46 69 6c |.. Modi|fied Fil|
|00001600| 65 73 0a 20 20 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |es. ---|--------|
|00001610| 2d 2d 2d 0a 0a 20 20 24 | 28 54 4f 50 29 2f 73 65 |---.. $|(TOP)/se|
|00001620| 72 76 65 72 2f 49 6d 61 | 6b 65 66 69 6c 65 20 6e |rver/Ima|kefile n|
|00001630| 65 65 64 73 20 74 6f 20 | 62 65 20 6d 6f 64 69 66 |eeds to |be modif|
|00001640| 69 65 64 20 74 6f 20 72 | 65 66 65 72 65 6e 63 65 |ied to r|eference|
|00001650| 20 61 6e 64 20 6c 69 6e | 6b 0a 20 20 77 69 74 68 | and lin|k. with|
|00001660| 20 74 68 65 20 58 76 20 | 65 78 74 65 6e 73 69 6f | the Xv |extensio|
|00001670| 6e 2e 20 20 4c 6f 6f 6b | 20 69 6e 20 2e 2f 73 65 |n. Look| in ./se|
|00001680| 72 76 65 72 2f 49 6d 61 | 6b 65 66 69 6c 65 20 74 |rver/Ima|kefile t|
|00001690| 6f 20 73 65 65 20 68 6f | 77 20 6f 75 72 0a 20 20 |o see ho|w our. |
|000016a0| 73 65 72 76 65 72 20 49 | 6d 61 6b 65 66 69 6c 65 |server I|makefile|
|000016b0| 20 69 73 20 73 74 72 75 | 63 74 75 72 65 64 2e 20 | is stru|ctured. |
|000016c0| 20 4c 6f 6f 6b 20 69 6e | 20 49 6d 61 6b 65 66 69 | Look in| Imakefi|
|000016d0| 6c 65 2e 64 69 66 66 20 | 66 6f 72 20 61 20 6c 69 |le.diff |for a li|
|000016e0| 73 74 0a 20 20 6f 66 20 | 64 69 66 66 65 72 65 6e |st. of |differen|
|000016f0| 63 65 20 62 65 74 77 65 | 65 6e 20 74 68 65 20 58 |ce betwe|en the X|
|00001700| 31 31 52 35 20 49 6d 61 | 6b 65 66 69 6c 65 20 61 |11R5 Ima|kefile a|
|00001710| 6e 64 20 6f 75 72 73 2e | 0a 0a 20 20 24 28 54 4f |nd ours.|.. $(TO|
|00001720| 50 29 2f 73 65 72 76 65 | 72 2f 64 64 78 2f 6d 69 |P)/serve|r/ddx/mi|
|00001730| 2f 6d 69 69 6e 69 74 65 | 78 74 2e 63 20 6e 65 65 |/miinite|xt.c nee|
|00001740| 64 73 20 74 6f 20 72 65 | 66 65 72 65 6e 63 65 20 |ds to re|ference |
|00001750| 74 68 65 20 58 76 20 65 | 78 74 65 6e 73 69 6f 6e |the Xv e|xtension|
|00001760| 0a 20 20 69 6e 69 74 69 | 61 6c 69 7a 61 74 69 6f |. initi|alizatio|
|00001770| 6e 20 70 72 6f 63 65 64 | 75 72 65 20 61 64 64 65 |n proced|ure adde|
|00001780| 64 2e 20 20 4c 6f 6f 6b | 20 69 6e 20 2e 2f 73 65 |d. Look| in ./se|
|00001790| 72 76 65 72 2f 64 64 78 | 2f 6d 69 2f 6d 69 69 6e |rver/ddx|/mi/miin|
|000017a0| 69 74 65 78 74 2e 63 0a | 20 20 74 6f 20 73 65 65 |itext.c.| to see|
|000017b0| 20 68 6f 77 20 77 65 20 | 6d 61 64 65 20 74 68 65 | how we |made the|
|000017c0| 20 61 64 64 69 74 69 6f | 6e 73 2e 0a 0a 20 20 53 | additio|ns... S|
|000017d0| 6f 6d 65 77 68 65 72 65 | 20 69 6e 20 79 6f 75 72 |omewhere| in your|
|000017e0| 20 64 65 76 69 63 65 20 | 64 65 70 65 6e 64 65 6e | device |dependen|
|000017f0| 74 20 73 63 72 65 65 6e | 20 69 6e 69 74 69 61 6c |t screen| initial|
|00001800| 69 7a 61 74 69 6f 6e 20 | 79 6f 75 20 6e 65 65 64 |ization |you need|
|00001810| 20 74 6f 0a 20 20 63 61 | 6c 6c 20 74 68 65 20 61 | to. ca|ll the a|
|00001820| 70 70 72 6f 70 72 69 61 | 74 65 20 58 76 20 61 64 |ppropria|te Xv ad|
|00001830| 61 70 74 6f 72 20 69 6e | 69 74 69 61 6c 69 7a 61 |aptor in|itializa|
|00001840| 74 69 6f 6e 20 70 72 6f | 63 65 64 75 72 65 73 2e |tion pro|cedures.|
|00001850| 20 20 4c 6f 6f 6b 20 69 | 6e 0a 20 20 2e 2f 65 78 | Look i|n. ./ex|
|00001860| 74 65 6e 73 69 6f 6e 73 | 2f 78 76 2f 73 65 72 76 |tensions|/xv/serv|
|00001870| 65 72 2f 78 76 72 6f 70 | 2e 63 20 66 6f 72 20 61 |er/xvrop|.c for a|
|00001880| 6e 20 65 78 61 6d 70 6c | 65 20 6f 66 20 68 6f 77 |n exampl|e of how|
|00001890| 20 61 20 61 64 61 70 74 | 6f 72 0a 20 20 73 63 72 | a adapt|or. scr|
|000018a0| 65 65 6e 20 69 6e 69 74 | 69 61 6c 69 7a 61 74 69 |een init|ializati|
|000018b0| 6f 6e 20 70 72 6f 63 65 | 64 75 72 65 20 6d 69 67 |on proce|dure mig|
|000018c0| 68 74 20 62 65 20 73 74 | 72 75 63 74 75 72 65 64 |ht be st|ructured|
|000018d0| 2e 0a 0a 0a 20 20 43 6f | 6e 66 69 67 75 72 61 74 |.... Co|nfigurat|
|000018e0| 69 6f 6e 0a 20 20 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |ion. --|--------|
|000018f0| 2d 2d 2d 0a 0a 20 20 54 | 6f 20 69 6e 66 6f 72 6d |---.. T|o inform|
|00001900| 20 74 68 65 20 58 31 31 | 52 35 20 62 75 69 6c 64 | the X11|R5 build|
|00001910| 20 74 68 61 74 20 79 6f | 75 20 77 69 73 68 20 74 | that yo|u wish t|
|00001920| 6f 20 69 6e 63 6c 75 64 | 65 20 74 68 65 20 58 76 |o includ|e the Xv|
|00001930| 20 65 78 74 65 6e 73 69 | 6f 6e 0a 20 20 79 6f 75 | extensi|on. you|
|00001940| 20 6e 65 65 64 20 74 6f | 20 65 64 69 74 20 79 6f | need to| edit yo|
|00001950| 75 72 20 63 6f 6e 66 69 | 67 75 72 61 74 69 6f 6e |ur confi|guration|
|00001960| 20 66 69 6c 65 28 73 29 | 2e 20 20 54 68 65 20 66 | file(s)|. The f|
|00001970| 6f 6c 6c 6f 77 69 6e 67 | 20 73 79 6d 62 6f 6c 0a |ollowing| symbol.|
|00001980| 20 20 64 65 66 69 6e 69 | 74 69 6f 6e 20 6e 65 65 | defini|tion nee|
|00001990| 64 73 20 74 6f 20 6d 61 | 64 65 0a 0a 09 23 64 65 |ds to ma|de...#de|
|000019a0| 66 69 6e 65 20 42 75 69 | 6c 64 58 76 45 78 74 20 |fine Bui|ldXvExt |
|000019b0| 59 45 53 0a 0a 20 20 54 | 6f 20 69 6e 66 6f 72 6d |YES.. T|o inform|
|000019c0| 20 58 31 31 52 35 20 6d | 6f 64 75 6c 65 73 20 74 | X11R5 m|odules t|
|000019d0| 68 61 74 20 68 61 76 65 | 20 63 6f 6e 64 69 74 69 |hat have| conditi|
|000019e0| 6f 6e 61 6c 20 58 76 20 | 72 65 66 65 72 65 6e 63 |onal Xv |referenc|
|000019f0| 65 73 20 74 6f 0a 20 20 | 69 6e 63 6c 75 64 65 20 |es to. |include |
|00001a00| 74 68 6f 73 65 20 72 65 | 66 65 72 65 6e 63 65 73 |those re|ferences|
|00001a10| 2c 20 79 6f 75 20 6d 75 | 63 68 20 6d 6f 64 69 66 |, you mu|ch modif|
|00001a20| 79 20 74 68 65 20 62 75 | 69 6c 64 20 73 79 6d 62 |y the bu|ild symb|
|00001a30| 6f 6c 0a 20 20 45 78 74 | 65 6e 73 69 6f 6e 44 65 |ol. Ext|ensionDe|
|00001a40| 66 69 6e 65 73 3a 0a 0a | 09 23 64 65 66 69 6e 65 |fines:..|.#define|
|00001a50| 20 45 78 74 65 6e 73 69 | 6f 6e 4f 53 44 65 66 69 | Extensi|onOSDefi|
|00001a60| 6e 65 73 20 2e 2e 2e 20 | 2d 44 58 56 20 2e 2e 2e |nes ... |-DXV ...|
|00001a70| 0a 0a 20 20 54 6f 20 69 | 6e 66 6f 72 6d 20 74 68 |.. To i|nform th|
|00001a80| 65 20 58 76 20 73 65 72 | 76 65 72 20 62 75 69 6c |e Xv ser|ver buil|
|00001a90| 64 20 6f 66 20 77 68 61 | 74 20 76 69 64 65 6f 20 |d of wha|t video |
|00001aa0| 61 64 61 70 74 6f 72 73 | 20 79 6f 75 20 77 69 73 |adaptors| you wis|
|00001ab0| 68 20 74 6f 0a 20 20 73 | 75 70 70 6f 72 74 20 79 |h to. s|upport y|
|00001ac0| 6f 75 20 6e 65 65 64 20 | 74 6f 20 64 65 66 69 6e |ou need |to defin|
|00001ad0| 65 20 6f 6e 65 20 6f 72 | 20 6d 6f 72 65 20 73 79 |e one or| more sy|
|00001ae0| 6d 62 6f 6c 73 20 6f 66 | 20 74 68 65 20 66 6f 6c |mbols of| the fol|
|00001af0| 6c 6f 77 69 6e 67 0a 20 | 20 66 6f 72 6d 3a 0a 0a |lowing. | form:..|
|00001b00| 09 23 64 65 66 69 6e 65 | 20 42 75 69 6c 64 58 76 |.#define| BuildXv|
|00001b10| 50 61 72 61 6c 6c 61 78 | 20 59 45 53 0a 09 23 64 |Parallax| YES..#d|
|00001b20| 65 66 69 6e 65 20 42 75 | 69 6c 64 58 76 52 61 73 |efine Bu|ildXvRas|
|00001b30| 74 65 72 4f 70 73 20 59 | 45 53 0a 09 23 64 65 66 |terOps Y|ES..#def|
|00001b40| 69 6e 65 20 42 75 69 6c | 64 58 76 59 4f 55 52 41 |ine Buil|dXvYOURA|
|00001b50| 44 41 50 54 4f 52 4e 41 | 4d 45 20 59 45 53 0a 0a |DAPTORNA|ME YES..|
|00001b60| 20 20 4c 6f 6f 6b 20 69 | 6e 20 2e 2f 65 78 74 65 | Look i|n ./exte|
|00001b70| 6e 73 69 6f 6e 73 2f 78 | 76 2f 73 65 72 76 65 72 |nsions/x|v/server|
|00001b80| 2f 49 6d 61 6b 65 66 69 | 6c 65 20 74 6f 20 73 65 |/Imakefi|le to se|
|00001b90| 65 20 68 6f 77 20 74 68 | 6f 73 65 20 73 79 6d 62 |e how th|ose symb|
|00001ba0| 6f 6c 73 0a 20 20 61 72 | 65 20 75 73 65 64 2e 20 |ols. ar|e used. |
|00001bb0| 20 49 66 20 79 6f 75 20 | 64 65 66 69 6e 65 20 6e | If you |define n|
|00001bc0| 6f 20 73 75 63 68 20 73 | 79 6d 62 6f 6c 73 2c 20 |o such s|ymbols, |
|00001bd0| 74 68 65 20 58 76 20 65 | 78 74 65 6e 73 69 6f 6e |the Xv e|xtension|
|00001be0| 20 77 69 6c 6c 20 62 65 | 0a 20 20 62 75 69 6c 64 | will be|. build|
|00001bf0| 20 63 6f 72 72 65 63 74 | 6c 79 20 61 6e 64 20 69 | correct|ly and i|
|00001c00| 6e 63 6c 75 64 65 64 20 | 69 6e 74 6f 20 79 6f 75 |ncluded |into you|
|00001c10| 72 20 73 65 72 76 65 72 | 2c 20 62 75 74 20 73 75 |r server|, but su|
|00001c20| 70 70 6f 72 74 20 66 6f | 72 20 79 6f 75 72 0a 20 |pport fo|r your. |
|00001c30| 20 73 70 65 63 69 61 6c | 20 76 69 64 65 6f 20 61 | special| video a|
|00001c40| 64 61 70 74 6f 72 73 20 | 77 69 6c 6c 20 62 65 20 |daptors |will be |
|00001c50| 6d 69 73 73 69 6e 67 2e | 0a 0a 20 20 4e 6f 74 65 |missing.|.. Note|
|00001c60| 20 74 68 61 74 20 66 6f | 72 20 74 68 65 20 44 53 | that fo|r the DS|
|00001c70| 35 30 30 30 2f 52 61 73 | 74 65 72 4f 70 73 20 73 |5000/Ras|terOps s|
|00001c80| 79 73 74 65 6d 2c 20 74 | 68 65 20 73 65 72 76 65 |ystem, t|he serve|
|00001c90| 72 20 6e 61 6d 65 20 69 | 73 20 58 74 78 2e 0a 20 |r name i|s Xtx.. |
|00001ca0| 20 54 68 65 20 63 6f 6e | 66 69 67 75 72 61 74 69 | The con|figurati|
|00001cb0| 6f 6e 20 66 69 6c 65 20 | 6e 65 65 64 73 20 74 6f |on file |needs to|
|00001cc0| 20 64 65 66 69 6e 65 20 | 74 68 65 20 61 70 70 72 | define |the appr|
|00001cd0| 6f 70 72 69 61 74 65 20 | 73 79 6d 62 6f 6c 3a 0a |opriate |symbol:.|
|00001ce0| 0a 09 23 64 65 66 69 6e | 65 20 58 74 78 53 65 72 |..#defin|e XtxSer|
|00001cf0| 76 65 72 20 59 45 53 0a | 0a 20 20 4f 66 20 63 6f |ver YES.|. Of co|
|00001d00| 75 72 73 65 20 74 68 65 | 20 63 6f 72 72 65 73 70 |urse the| corresp|
|00001d10| 6f 6e 64 69 6e 67 20 63 | 68 61 6e 67 65 73 20 6e |onding c|hanges n|
|00001d20| 65 65 64 20 74 6f 20 62 | 65 20 6d 61 64 65 20 74 |eed to b|e made t|
|00001d30| 6f 20 74 68 65 20 73 65 | 72 76 65 72 0a 20 20 49 |o the se|rver. I|
|00001d40| 6d 61 6b 65 66 69 6c 65 | 20 66 69 6c 65 2e 20 20 |makefile| file. |
|00001d50| 46 6f 72 20 65 78 61 6d | 70 6c 65 73 20 6f 66 20 |For exam|ples of |
|00001d60| 74 68 65 73 65 20 63 68 | 61 6e 67 65 73 20 73 65 |these ch|anges se|
|00001d70| 65 20 6f 75 72 20 76 65 | 72 73 69 6f 6e 73 20 6f |e our ve|rsions o|
|00001d80| 66 0a 20 20 74 68 65 20 | 66 69 6c 65 73 20 69 6e |f. the |files in|
|00001d90| 63 6c 75 64 65 64 20 77 | 69 74 68 20 74 68 65 20 |cluded w|ith the |
|00001da0| 6b 69 74 2e 0a 0a 20 20 | 49 66 20 79 6f 75 20 77 |kit... |If you w|
|00001db0| 69 73 68 20 74 6f 20 62 | 75 69 6c 64 20 61 6e 20 |ish to b|uild an |
|00001dc0| 58 74 78 20 73 65 72 76 | 65 72 2c 20 79 6f 75 20 |Xtx serv|er, you |
|00001dd0| 6d 75 73 74 20 66 69 72 | 73 74 20 69 6e 73 74 61 |must fir|st insta|
|00001de0| 6c 6c 20 28 63 6f 70 79 | 29 0a 20 20 74 68 65 20 |ll (copy|). the |
|00001df0| 64 64 78 2f 63 66 62 33 | 32 20 61 6e 64 20 64 64 |ddx/cfb3|2 and dd|
|00001e00| 78 2f 64 65 63 2f 74 78 | 20 64 69 72 65 63 74 6f |x/dec/tx| directo|
|00001e10| 72 79 20 74 72 65 65 73 | 20 69 6e 74 6f 20 79 6f |ry trees| into yo|
|00001e20| 75 72 20 73 65 72 76 65 | 72 20 62 75 69 6c 64 0a |ur serve|r build.|
|00001e30| 20 20 74 72 65 65 2c 20 | 61 6e 64 20 63 6f 70 79 | tree, |and copy|
|00001e40| 20 74 68 65 20 63 6f 6e | 74 65 6e 74 73 20 6f 66 | the con|tents of|
|00001e50| 20 74 68 65 20 64 64 78 | 2f 64 65 63 2f 77 73 20 | the ddx|/dec/ws |
|00001e60| 64 69 72 65 63 74 6f 72 | 79 20 69 6e 74 6f 20 74 |director|y into t|
|00001e70| 68 65 0a 20 20 63 6f 72 | 72 65 73 70 6f 6e 64 69 |he. cor|respondi|
|00001e80| 6e 67 20 64 69 72 65 63 | 74 6f 72 79 20 69 6e 20 |ng direc|tory in |
|00001e90| 79 6f 75 72 20 62 75 69 | 6c 64 20 74 72 65 65 2e |your bui|ld tree.|
|00001ea0| 0a 0a 20 20 42 75 69 6c | 64 69 6e 67 0a 20 20 2d |.. Buil|ding. -|
|00001eb0| 2d 2d 2d 2d 2d 2d 2d 0a | 0a 20 20 49 66 20 79 6f |-------.|. If yo|
|00001ec0| 75 20 70 65 72 66 6f 72 | 6d 20 61 20 60 6d 61 6b |u perfor|m a `mak|
|00001ed0| 65 20 57 6f 72 6c 64 27 | 20 61 66 74 65 72 20 6d |e World'| after m|
|00001ee0| 61 6b 69 6e 67 20 74 68 | 65 20 61 62 6f 76 65 20 |aking th|e above |
|00001ef0| 63 68 61 6e 67 65 73 0a | 20 20 65 76 65 72 79 74 |changes.| everyt|
|00001f00| 68 69 6e 67 20 73 68 6f | 75 6c 64 20 62 75 69 6c |hing sho|uld buil|
|00001f10| 64 20 66 69 6e 65 2e 20 | 20 49 66 20 79 6f 75 20 |d fine. | If you |
|00001f20| 61 72 65 20 67 6f 69 6e | 67 20 74 6f 20 64 6f 20 |are goin|g to do |
|00001f30| 61 6e 20 69 6e 63 72 65 | 6d 65 6e 74 61 6c 0a 20 |an incre|mental. |
|00001f40| 20 62 75 69 6c 64 2c 20 | 6e 6f 74 65 20 74 68 61 | build, |note tha|
|00001f50| 74 20 62 65 66 6f 72 65 | 20 74 68 65 20 58 76 20 |t before| the Xv |
|00001f60| 6c 69 62 72 61 72 79 20 | 61 6e 64 20 74 65 73 74 |library |and test|
|00001f70| 20 66 69 6c 65 73 20 77 | 69 6c 6c 20 62 75 69 6c | files w|ill buil|
|00001f80| 64 20 79 6f 75 0a 20 20 | 6e 65 65 64 20 74 6f 20 |d you. |need to |
|00001f90| 64 6f 20 67 65 74 20 74 | 68 65 20 68 65 61 64 65 |do get t|he heade|
|00001fa0| 72 20 66 69 6c 65 73 20 | 69 6e 74 6f 20 24 28 54 |r files |into $(T|
|00001fb0| 4f 50 29 2f 58 31 31 2f | 65 78 74 65 6e 73 69 6f |OP)/X11/|extensio|
|00001fc0| 6e 73 0a 20 20 64 69 72 | 65 63 74 6f 72 79 2e 20 |ns. dir|ectory. |
|00001fd0| 20 4e 6f 72 6d 61 6c 6c | 79 20 74 68 65 20 60 6d | Normall|y the `m|
|00001fe0| 61 6b 65 20 69 6e 63 6c | 75 64 65 73 27 20 70 61 |ake incl|udes' pa|
|00001ff0| 73 73 20 64 6f 65 73 20 | 74 68 69 73 2e 0a 20 70 |ss does |this.. p|
|00002000| 78 76 32 72 31 2f 63 6f | 6e 66 69 67 2f 00 00 00 |xv2r1/co|nfig/...|
|00002010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002060| 00 00 00 00 30 34 30 37 | 35 35 00 00 30 33 35 37 |....0407|55..0357|
|00002070| 33 31 00 00 30 30 30 30 | 30 30 00 00 30 30 30 30 |31..0000|00..0000|
|00002080| 30 30 30 30 30 30 30 00 | 30 35 30 37 30 31 35 35 |0000000.|05070155|
|00002090| 35 32 30 00 30 30 37 34 | 34 33 00 20 35 00 00 00 |520.0074|43. 5...|
|000020a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000020f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002100| 00 20 20 20 20 20 30 00 | 00 00 00 00 00 00 00 00 |. 0.|........|
|00002110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002150| 00 00 00 00 00 00 00 00 | 00 00 20 31 00 20 30 00 |........|.. 1. 0.|
|00002160| 20 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 | .......|........|
|00002170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000021f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002200| 78 76 32 72 31 2f 63 6f | 6e 66 69 67 2f 75 6c 74 |xv2r1/co|nfig/ult|
|00002210| 72 69 78 2e 63 66 00 00 | 00 00 00 00 00 00 00 00 |rix.cf..|........|
|00002220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002260| 00 00 00 00 31 30 30 34 | 34 34 00 00 30 33 35 37 |....1004|44..0357|
|00002270| 33 31 00 00 30 30 30 30 | 30 30 00 00 30 30 30 30 |31..0000|00..0000|
|00002280| 30 30 30 32 35 36 34 00 | 30 35 30 37 30 31 35 35 |0002564.|05070155|
|00002290| 34 30 35 00 30 31 32 31 | 32 31 00 20 30 00 00 00 |405.0121|21. 0...|
|000022a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000022f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002300| 00 33 37 37 37 37 37 37 | 37 37 37 37 00 00 00 00 |.3777777|7777....|
|00002310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002350| 00 00 00 00 00 00 00 00 | 00 00 20 31 00 20 30 00 |........|.. 1. 0.|
|00002360| 20 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 | .......|........|
|00002370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000023a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000023b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000023c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000023d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000023e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000023f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002400| 58 43 4f 4d 4d 20 70 6c | 61 74 66 6f 72 6d 3a 20 |XCOMM pl|atform: |
|00002410| 20 24 58 43 6f 6e 73 6f | 72 74 69 75 6d 3a 20 75 | $XConso|rtium: u|
|00002420| 6c 74 72 69 78 2e 63 66 | 2c 76 20 31 2e 34 35 20 |ltrix.cf|,v 1.45 |
|00002430| 39 31 2f 30 37 2f 33 30 | 20 31 32 3a 31 32 3a 31 |91/07/30| 12:12:1|
|00002440| 31 20 72 77 73 20 45 78 | 70 20 24 0a 0a 23 64 65 |1 rws Ex|p $..#de|
|00002450| 66 69 6e 65 20 4f 53 4e | 61 6d 65 20 20 20 20 20 |fine OSN|ame |
|00002460| 20 20 20 20 20 20 20 55 | 6c 74 72 69 78 2d 33 32 | U|ltrix-32|
|00002470| 20 34 2e 32 0a 58 43 4f | 4d 4d 20 6f 70 65 72 61 | 4.2.XCO|MM opera|
|00002480| 74 69 6e 67 20 73 79 73 | 74 65 6d 3a 20 20 4f 53 |ting sys|tem: OS|
|00002490| 4e 61 6d 65 0a 23 64 65 | 66 69 6e 65 20 4f 53 4d |Name.#de|fine OSM|
|000024a0| 61 6a 6f 72 56 65 72 73 | 69 6f 6e 20 20 20 20 34 |ajorVers|ion 4|
|000024b0| 0a 23 64 65 66 69 6e 65 | 20 4f 53 4d 69 6e 6f 72 |.#define| OSMinor|
|000024c0| 56 65 72 73 69 6f 6e 20 | 20 20 20 32 0a 0a 23 64 |Version | 2..#d|
|000024d0| 65 66 69 6e 65 20 48 61 | 73 50 75 74 65 6e 76 20 |efine Ha|sPutenv |
|000024e0| 59 45 53 0a 23 64 65 66 | 69 6e 65 20 48 61 73 53 |YES.#def|ine HasS|
|000024f0| 61 62 65 72 43 20 59 45 | 53 0a 23 64 65 66 69 6e |aberC YE|S.#defin|
|00002500| 65 20 48 61 73 53 68 6d | 20 59 45 53 0a 23 64 65 |e HasShm| YES.#de|
|00002510| 66 69 6e 65 20 4c 69 6e | 74 4c 69 62 46 6c 61 67 |fine Lin|tLibFlag|
|00002520| 20 2d 6f 0a 23 64 65 66 | 69 6e 65 20 4c 69 6e 74 | -o.#def|ine Lint|
|00002530| 4f 70 74 73 20 2d 61 78 | 0a 0a 23 69 66 64 65 66 |Opts -ax|..#ifdef|
|00002540| 20 56 61 78 41 72 63 68 | 69 74 65 63 74 75 72 65 | VaxArch|itecture|
|00002550| 0a 23 64 65 66 69 6e 65 | 20 58 71 64 73 73 53 65 |.#define| XqdssSe|
|00002560| 72 76 65 72 20 59 45 53 | 0a 23 64 65 66 69 6e 65 |rver YES|.#define|
|00002570| 20 58 71 76 73 73 53 65 | 72 76 65 72 20 59 45 53 | XqvssSe|rver YES|
|00002580| 0a 23 64 65 66 69 6e 65 | 20 55 6e 61 6c 69 67 6e |.#define| Unalign|
|00002590| 65 64 52 65 66 65 72 65 | 6e 63 65 73 41 6c 6c 6f |edRefere|ncesAllo|
|000025a0| 77 65 64 20 59 45 53 09 | 20 20 20 20 20 20 20 2f |wed YES.| /|
|000025b0| 2a 20 69 66 20 61 72 62 | 69 74 72 61 72 79 20 64 |* if arb|itrary d|
|000025c0| 65 72 65 66 20 69 73 20 | 6f 6b 61 79 20 2a 2f 0a |eref is |okay */.|
|000025d0| 23 69 66 20 48 61 73 47 | 63 63 0a 23 64 65 66 69 |#if HasG|cc.#defi|
|000025e0| 6e 65 20 42 75 69 6c 64 | 50 65 78 45 78 74 20 58 |ne Build|PexExt X|
|000025f0| 71 64 73 73 53 65 72 76 | 65 72 0a 23 65 6c 73 65 |qdssServ|er.#else|
|00002600| 0a 23 64 65 66 69 6e 65 | 20 42 75 69 6c 64 50 65 |.#define| BuildPe|
|00002610| 78 20 4e 4f 20 2f 2a 20 | 63 6f 6d 70 69 6c 65 72 |x NO /* |compiler|
|00002620| 20 72 75 6e 73 20 6f 75 | 74 20 6f 66 20 74 61 62 | runs ou|t of tab|
|00002630| 6c 65 20 73 70 61 63 65 | 20 2a 2f 0a 23 65 6e 64 |le space| */.#end|
|00002640| 69 66 0a 23 64 65 66 69 | 6e 65 20 42 75 69 6c 64 |if.#defi|ne Build|
|00002650| 58 76 45 78 74 20 59 45 | 53 0a 23 64 65 66 69 6e |XvExt YE|S.#defin|
|00002660| 65 20 45 78 74 65 6e 73 | 69 6f 6e 4f 53 44 65 66 |e Extens|ionOSDef|
|00002670| 69 6e 65 73 20 2d 44 58 | 56 0a 23 65 6e 64 69 66 |ines -DX|V.#endif|
|00002680| 0a 0a 23 69 66 64 65 66 | 20 4d 69 70 73 41 72 63 |..#ifdef| MipsArc|
|00002690| 68 69 74 65 63 74 75 72 | 65 0a 23 69 66 20 4f 53 |hitectur|e.#if OS|
|000026a0| 4d 61 6a 6f 72 56 65 72 | 73 69 6f 6e 20 3e 20 34 |MajorVer|sion > 4|
|000026b0| 20 7c 7c 20 28 4f 53 4d | 61 6a 6f 72 56 65 72 73 | || (OSM|ajorVers|
|000026c0| 69 6f 6e 20 3d 3d 20 34 | 20 26 26 20 4f 53 4d 69 |ion == 4| && OSMi|
|000026d0| 6e 6f 72 56 65 72 73 69 | 6f 6e 20 3e 3d 20 32 29 |norVersi|on >= 2)|
|000026e0| 0a 23 64 65 66 69 6e 65 | 20 58 64 65 63 53 65 72 |.#define| XdecSer|
|000026f0| 76 65 72 20 59 45 53 0a | 23 64 65 66 69 6e 65 20 |ver YES.|#define |
|00002700| 58 74 78 53 65 72 76 65 | 72 20 59 45 53 0a 2f 2a |XtxServe|r YES./*|
|00002710| 20 45 76 65 6e 20 75 6e | 64 65 72 20 75 6c 74 72 | Even un|der ultr|
|00002720| 69 78 20 34 2e 32 2c 20 | 74 68 65 20 63 6f 6d 70 |ix 4.2, |the comp|
|00002730| 69 6c 65 72 20 6d 69 73 | 63 6f 6d 70 69 6c 65 73 |iler mis|compiles|
|00002740| 20 73 6f 6d 65 20 61 6c | 6c 6f 63 61 20 63 61 6c | some al|loca cal|
|00002750| 6c 73 20 2a 2f 0a 23 64 | 65 66 69 6e 65 20 41 6c |ls */.#d|efine Al|
|00002760| 6c 6f 63 61 74 65 4c 6f | 63 61 6c 44 65 66 69 6e |locateLo|calDefin|
|00002770| 65 73 20 2f 2a 20 2d 44 | 49 4e 43 4c 55 44 45 5f |es /* -D|INCLUDE_|
|00002780| 41 4c 4c 4f 43 41 5f 48 | 20 2a 2f 0a 23 65 6c 73 |ALLOCA_H| */.#els|
|00002790| 65 0a 23 64 65 66 69 6e | 65 20 58 6d 66 62 70 6d |e.#defin|e Xmfbpm|
|000027a0| 61 78 53 65 72 76 65 72 | 20 4e 4f 0a 23 64 65 66 |axServer| NO.#def|
|000027b0| 69 6e 65 20 58 63 66 62 | 70 6d 61 78 53 65 72 76 |ine Xcfb|pmaxServ|
|000027c0| 65 72 20 59 45 53 0a 23 | 64 65 66 69 6e 65 20 41 |er YES.#|define A|
|000027d0| 6c 6c 6f 63 61 74 65 4c | 6f 63 61 6c 44 65 66 69 |llocateL|ocalDefi|
|000027e0| 6e 65 73 20 2f 2a 2a 2f | 0a 23 65 6e 64 69 66 0a |nes /**/|.#endif.|
|000027f0| 23 64 65 66 69 6e 65 20 | 4e 65 65 64 46 75 6e 63 |#define |NeedFunc|
|00002800| 74 69 6f 6e 50 72 6f 74 | 6f 74 79 70 65 73 20 59 |tionProt|otypes Y|
|00002810| 45 53 0a 23 64 65 66 69 | 6e 65 20 50 65 78 43 43 |ES.#defi|ne PexCC|
|00002820| 4f 70 74 69 6f 6e 73 20 | 2d 57 66 2c 2d 58 4e 70 |Options |-Wf,-XNp|
|00002830| 31 35 30 30 30 2c 2d 58 | 4e 64 31 35 30 30 30 0a |15000,-X|Nd15000.|
|00002840| 23 64 65 66 69 6e 65 20 | 42 75 69 6c 64 58 76 45 |#define |BuildXvE|
|00002850| 78 74 20 59 45 53 0a 23 | 64 65 66 69 6e 65 20 42 |xt YES.#|define B|
|00002860| 75 69 6c 64 58 76 50 61 | 72 61 6c 6c 61 78 20 4e |uildXvPa|rallax N|
|00002870| 4f 0a 23 64 65 66 69 6e | 65 20 42 75 69 6c 64 58 |O.#defin|e BuildX|
|00002880| 76 52 61 73 74 65 72 4f | 70 73 20 59 45 53 0a 23 |vRasterO|ps YES.#|
|00002890| 64 65 66 69 6e 65 20 45 | 78 74 65 6e 73 69 6f 6e |define E|xtension|
|000028a0| 4f 53 44 65 66 69 6e 65 | 73 20 2d 44 58 56 0a 23 |OSDefine|s -DXV.#|
|000028b0| 65 6e 64 69 66 0a 0a 23 | 69 66 20 48 61 73 47 63 |endif..#|if HasGc|
|000028c0| 63 0a 23 64 65 66 69 6e | 65 20 43 63 43 6d 64 20 |c.#defin|e CcCmd |
|000028d0| 67 63 63 20 2d 61 6e 73 | 69 20 2d 44 76 61 78 20 |gcc -ans|i -Dvax |
|000028e0| 2d 44 75 6c 74 72 69 78 | 20 2d 66 70 63 63 2d 73 |-Dultrix| -fpcc-s|
|000028f0| 74 72 75 63 74 2d 72 65 | 74 75 72 6e 0a 23 64 65 |truct-re|turn.#de|
|00002900| 66 69 6e 65 20 53 65 72 | 76 65 72 43 43 4f 70 74 |fine Ser|verCCOpt|
|00002910| 69 6f 6e 73 20 2f 2a 20 | 2a 2f 0a 23 64 65 66 69 |ions /* |*/.#defi|
|00002920| 6e 65 20 41 6c 6c 6f 63 | 61 74 65 4c 6f 63 61 6c |ne Alloc|ateLocal|
|00002930| 44 65 66 69 6e 65 73 20 | 2f 2a 20 2a 2f 0a 23 65 |Defines |/* */.#e|
|00002940| 6e 64 69 66 0a 0a 23 64 | 65 66 69 6e 65 20 53 65 |ndif..#d|efine Se|
|00002950| 72 76 65 72 4f 53 44 65 | 66 69 6e 65 73 20 41 6c |rverOSDe|fines Al|
|00002960| 6c 6f 63 61 74 65 4c 6f | 63 61 6c 44 65 66 69 6e |locateLo|calDefin|
|00002970| 65 73 0a 0a 77 69 6e 67 | 20 73 79 6d 62 6f 6c 0a |es..wing| symbol.|
|00002980| 20 20 64 65 66 69 6e 69 | 74 69 6f 6e 20 6e 65 65 | defini|tion nee|
|00002990| 64 73 20 74 6f 20 6d 61 | 64 65 0a 0a 09 23 64 65 |ds to ma|de...#de|
|000029a0| 66 69 6e 65 20 42 75 69 | 6c 64 58 76 45 78 74 20 |fine Bui|ldXvExt |
|000029b0| 59 45 53 0a 0a 20 20 54 | 6f 20 69 6e 66 6f 72 6d |YES.. T|o inform|
|000029c0| 20 58 31 31 52 35 20 6d | 6f 64 75 6c 65 73 20 74 | X11R5 m|odules t|
|000029d0| 68 61 74 20 68 61 76 65 | 20 63 6f 6e 64 69 74 69 |hat have| conditi|
|000029e0| 6f 6e 61 6c 20 58 76 20 | 72 65 66 65 72 65 6e 63 |onal Xv |referenc|
|000029f0| 65 73 20 74 6f 0a 20 20 | 69 6e 63 6c 75 64 65 20 |es to. |include |
|00002a00| 78 76 32 72 31 2f 63 6f | 6e 66 69 67 2f 75 6c 74 |xv2r1/co|nfig/ult|
|00002a10| 72 69 78 2e 63 66 2e 64 | 69 66 66 00 00 00 00 00 |rix.cf.d|iff.....|
|00002a20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a60| 00 00 00 00 31 30 30 36 | 34 34 00 00 30 33 35 37 |....1006|44..0357|
|00002a70| 33 31 00 00 30 30 30 30 | 30 30 00 00 30 30 30 30 |31..0000|00..0000|
|00002a80| 30 30 30 30 33 35 33 00 | 30 35 30 37 30 31 35 35 |0000353.|05070155|
|00002a90| 35 32 30 00 30 31 33 30 | 32 32 00 20 30 00 00 00 |520.0130|22. 0...|
|00002aa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ab0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ac0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ad0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ae0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002af0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b00| 00 33 37 37 37 37 37 37 | 37 37 37 37 00 00 00 00 |.3777777|7777....|
|00002b10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b50| 00 00 00 00 00 00 00 00 | 00 00 20 31 00 20 30 00 |........|.. 1. 0.|
|00002b60| 20 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 | .......|........|
|00002b70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ba0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002bb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002bc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002bd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c00| 32 33 2c 32 34 64 32 32 | 0a 3c 20 23 64 65 66 69 |23,24d22|.< #defi|
|00002c10| 6e 65 20 42 75 69 6c 64 | 58 76 45 78 74 20 59 45 |ne Build|XvExt YE|
|00002c20| 53 0a 3c 20 23 64 65 66 | 69 6e 65 20 45 78 74 65 |S.< #def|ine Exte|
|00002c30| 6e 73 69 6f 6e 4f 53 44 | 65 66 69 6e 65 73 20 2d |nsionOSD|efines -|
|00002c40| 44 58 56 0a 33 30 64 32 | 37 0a 3c 20 23 64 65 66 |DXV.30d2|7.< #def|
|00002c50| 69 6e 65 20 58 74 78 53 | 65 72 76 65 72 20 59 45 |ine XtxS|erver YE|
|00002c60| 53 0a 34 30 2c 34 33 64 | 33 36 0a 3c 20 23 64 65 |S.40,43d|36.< #de|
|00002c70| 66 69 6e 65 20 42 75 69 | 6c 64 58 76 45 78 74 20 |fine Bui|ldXvExt |
|00002c80| 59 45 53 0a 3c 20 23 64 | 65 66 69 6e 65 20 42 75 |YES.< #d|efine Bu|
|00002c90| 69 6c 64 58 76 50 61 72 | 61 6c 6c 61 78 20 4e 4f |ildXvPar|allax NO|
|00002ca0| 0a 3c 20 23 64 65 66 69 | 6e 65 20 42 75 69 6c 64 |.< #defi|ne Build|
|00002cb0| 58 76 52 61 73 74 65 72 | 4f 70 73 20 59 45 53 0a |XvRaster|Ops YES.|
|00002cc0| 3c 20 23 64 65 66 69 6e | 65 20 45 78 74 65 6e 73 |< #defin|e Extens|
|00002cd0| 69 6f 6e 4f 53 44 65 66 | 69 6e 65 73 20 2d 44 58 |ionOSDef|ines -DX|
|00002ce0| 56 0a 35 33 64 34 35 0a | 3c 20 0a 74 78 53 65 72 |V.53d45.|< .txSer|
|00002cf0| 76 65 72 20 59 45 53 0a | 0a 20 20 4f 66 20 63 6f |ver YES.|. Of co|
|00002d00| 75 72 73 65 20 74 68 65 | 20 63 6f 72 72 65 73 70 |urse the| corresp|
|00002d10| 6f 6e 64 69 6e 67 20 63 | 68 61 6e 67 65 73 20 6e |onding c|hanges n|
|00002d20| 65 65 64 20 74 6f 20 62 | 65 20 6d 61 64 65 20 74 |eed to b|e made t|
|00002d30| 6f 20 74 68 65 20 73 65 | 72 76 65 72 0a 20 20 49 |o the se|rver. I|
|00002d40| 6d 61 6b 65 66 69 6c 65 | 20 66 69 6c 65 2e 20 20 |makefile| file. |
|00002d50| 46 6f 72 20 65 78 61 6d | 70 6c 65 73 20 6f 66 20 |For exam|ples of |
|00002d60| 74 68 65 73 65 20 63 68 | 61 6e 67 65 73 20 73 65 |these ch|anges se|
|00002d70| 65 20 6f 75 72 20 76 65 | 72 73 69 6f 6e 73 20 6f |e our ve|rsions o|
|00002d80| 66 0a 20 20 74 68 65 20 | 66 69 6c 65 73 20 69 6e |f. the |files in|
|00002d90| 63 6c 75 64 65 64 20 77 | 69 74 68 20 74 68 65 20 |cluded w|ith the |
|00002da0| 6b 69 74 2e 0a 0a 20 20 | 49 66 20 79 6f 75 20 77 |kit... |If you w|
|00002db0| 69 73 68 20 74 6f 20 62 | 75 69 6c 64 20 61 6e 20 |ish to b|uild an |
|00002dc0| 58 74 78 20 73 65 72 76 | 65 72 2c 20 79 6f 75 20 |Xtx serv|er, you |
|00002dd0| 6d 75 73 74 20 66 69 72 | 73 74 20 69 6e 73 74 61 |must fir|st insta|
|00002de0| 6c 6c 20 28 63 6f 70 79 | 29 0a 20 20 74 68 65 20 |ll (copy|). the |
|00002df0| 64 64 78 2f 63 66 62 33 | 32 20 61 6e 64 20 64 64 |ddx/cfb3|2 and dd|
|00002e00| 78 76 32 72 31 2f 65 78 | 74 65 6e 73 69 6f 6e 73 |xv2r1/ex|tensions|
|00002e10| 2f 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |/.......|........|
|00002e20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002e60| 00 00 00 00 30 34 30 37 | 35 35 00 00 30 33 35 37 |....0407|55..0357|
|00002e70| 33 31 00 00 30 30 30 30 | 30 30 00 00 30 30 30 30 |31..0000|00..0000|
|00002e80| 30 30 30 30 30 30 30 00 | 30 35 30 37 30 31 35 36 |0000000.|05070156|
|00002e90| 36 33 31 00 30 31 30 34 | 30 31 00 20 35 00 00 00 |631.0104|01. 5...|
|00002ea0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002eb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ec0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ed0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f00| 00 20 20 20 20 20 30 00 | 00 00 00 00 00 00 00 00 |. 0.|........|
|00002f10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f50| 00 00 00 00 00 00 00 00 | 00 00 20 31 00 20 30 00 |........|.. 1. 0.|
|00002f60| 20 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 | .......|........|
|00002f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003000| 78 76 32 72 31 2f 65 78 | 74 65 6e 73 69 6f 6e 73 |xv2r1/ex|tensions|
|00003010| 2f 78 76 2f 00 00 00 00 | 00 00 00 00 00 00 00 00 |/xv/....|........|
|00003020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003060| 00 00 00 00 30 34 30 37 | 35 35 00 00 30 33 35 37 |....0407|55..0357|
|00003070| 33 31 00 00 30 30 30 30 | 30 30 00 00 30 30 30 30 |31..0000|00..0000|
|00003080| 30 30 30 30 30 30 30 00 | 30 35 30 37 30 31 35 32 |0000000.|05070152|
|00003090| 35 37 37 00 30 31 31 30 | 34 33 00 20 35 00 00 00 |577.0110|43. 5...|
|000030a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000030b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000030c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000030d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000030e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000030f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003100| 00 20 20 20 20 20 30 00 | 00 00 00 00 00 00 00 00 |. 0.|........|
|00003110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003150| 00 00 00 00 00 00 00 00 | 00 00 20 31 00 20 30 00 |........|.. 1. 0.|
|00003160| 20 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 | .......|........|
|00003170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000031a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000031b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000031c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000031d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000031e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000031f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003200| 78 76 32 72 31 2f 65 78 | 74 65 6e 73 69 6f 6e 73 |xv2r1/ex|tensions|
|00003210| 2f 78 76 2f 73 65 72 76 | 65 72 2f 00 00 00 00 00 |/xv/serv|er/.....|
|00003220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003260| 00 00 00 00 30 34 30 37 | 35 35 00 00 30 33 35 37 |....0407|55..0357|
|00003270| 33 31 00 00 30 30 30 30 | 30 30 00 00 30 30 30 30 |31..0000|00..0000|
|00003280| 30 30 30 30 30 30 30 00 | 30 35 30 37 30 31 35 36 |0000000.|05070156|
|00003290| 35 36 30 00 30 31 32 33 | 34 35 00 20 35 00 00 00 |560.0123|45. 5...|
|000032a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000032b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000032c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000032d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000032e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000032f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003300| 00 20 20 20 20 20 30 00 | 00 00 00 00 00 00 00 00 |. 0.|........|
|00003310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003350| 00 00 00 00 00 00 00 00 | 00 00 20 31 00 20 30 00 |........|.. 1. 0.|
|00003360| 20 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 | .......|........|
|00003370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000033a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000033b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000033c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000033d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000033e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000033f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003400| 78 76 32 72 31 2f 65 78 | 74 65 6e 73 69 6f 6e 73 |xv2r1/ex|tensions|
|00003410| 2f 78 76 2f 73 65 72 76 | 65 72 2f 78 76 72 6f 70 |/xv/serv|er/xvrop|
|00003420| 2e 63 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.c......|........|
|00003430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003460| 00 00 00 00 31 30 30 36 | 34 34 00 00 30 33 35 37 |....1006|44..0357|
|00003470| 33 31 00 00 30 30 30 30 | 30 30 00 00 30 30 30 30 |31..0000|00..0000|
|00003480| 30 31 32 35 31 32 36 00 | 30 35 30 37 30 31 35 36 |0125126.|05070156|
|00003490| 35 34 30 00 30 31 34 35 | 30 32 00 20 30 00 00 00 |540.0145|02. 0...|
|000034a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000034b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000034c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000034d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000034e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000034f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003500| 00 33 37 37 37 37 37 37 | 37 37 37 37 00 00 00 00 |.3777777|7777....|
|00003510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003550| 00 00 00 00 00 00 00 00 | 00 00 20 31 00 20 30 00 |........|.. 1. 0.|
|00003560| 20 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 | .......|........|
|00003570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000035f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003600| 2f 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |/*******|********|
|00003610| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00003620| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00003630| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 0a 43 6f 70 |********|****.Cop|
|00003640| 79 72 69 67 68 74 20 31 | 39 39 31 20 62 79 20 44 |yright 1|991 by D|
|00003650| 69 67 69 74 61 6c 20 45 | 71 75 69 70 6d 65 6e 74 |igital E|quipment|
|00003660| 20 43 6f 72 70 6f 72 61 | 74 69 6f 6e 2c 20 4d 61 | Corpora|tion, Ma|
|00003670| 79 6e 61 72 64 2c 20 4d | 61 73 73 61 63 68 75 73 |ynard, M|assachus|
|00003680| 65 74 74 73 2c 0a 61 6e | 64 20 74 68 65 20 4d 61 |etts,.an|d the Ma|
|00003690| 73 73 61 63 68 75 73 65 | 74 74 73 20 49 6e 73 74 |ssachuse|tts Inst|
|000036a0| 69 74 75 74 65 20 6f 66 | 20 54 65 63 68 6e 6f 6c |itute of| Technol|
|000036b0| 6f 67 79 2c 20 43 61 6d | 62 72 69 64 67 65 2c 20 |ogy, Cam|bridge, |
|000036c0| 4d 61 73 73 61 63 68 75 | 73 65 74 74 73 2e 0a 0a |Massachu|setts...|
|000036d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000036e0| 20 20 20 20 20 20 20 20 | 41 6c 6c 20 52 69 67 68 | |All Righ|
|000036f0| 74 73 20 52 65 73 65 72 | 76 65 64 0a 0a 50 65 72 |ts Reser|ved..Per|
|00003700| 6d 69 73 73 69 6f 6e 20 | 74 6f 20 75 73 65 2c 20 |mission |to use, |
|00003710| 63 6f 70 79 2c 20 6d 6f | 64 69 66 79 2c 20 61 6e |copy, mo|dify, an|
|00003720| 64 20 64 69 73 74 72 69 | 62 75 74 65 20 74 68 69 |d distri|bute thi|
|00003730| 73 20 73 6f 66 74 77 61 | 72 65 20 61 6e 64 20 69 |s softwa|re and i|
|00003740| 74 73 20 0a 64 6f 63 75 | 6d 65 6e 74 61 74 69 6f |ts .docu|mentatio|
|00003750| 6e 20 66 6f 72 20 61 6e | 79 20 70 75 72 70 6f 73 |n for an|y purpos|
|00003760| 65 20 61 6e 64 20 77 69 | 74 68 6f 75 74 20 66 65 |e and wi|thout fe|
|00003770| 65 20 69 73 20 68 65 72 | 65 62 79 20 67 72 61 6e |e is her|eby gran|
|00003780| 74 65 64 2c 20 0a 70 72 | 6f 76 69 64 65 64 20 74 |ted, .pr|ovided t|
|00003790| 68 61 74 20 74 68 65 20 | 61 62 6f 76 65 20 63 6f |hat the |above co|
|000037a0| 70 79 72 69 67 68 74 20 | 6e 6f 74 69 63 65 20 61 |pyright |notice a|
|000037b0| 70 70 65 61 72 20 69 6e | 20 61 6c 6c 20 63 6f 70 |ppear in| all cop|
|000037c0| 69 65 73 20 61 6e 64 20 | 74 68 61 74 0a 62 6f 74 |ies and |that.bot|
|000037d0| 68 20 74 68 61 74 20 63 | 6f 70 79 72 69 67 68 74 |h that c|opyright|
|000037e0| 20 6e 6f 74 69 63 65 20 | 61 6e 64 20 74 68 69 73 | notice |and this|
|000037f0| 20 70 65 72 6d 69 73 73 | 69 6f 6e 20 6e 6f 74 69 | permiss|ion noti|
|00003800| 63 65 20 61 70 70 65 61 | 72 20 69 6e 20 0a 73 75 |ce appea|r in .su|
|00003810| 70 70 6f 72 74 69 6e 67 | 20 64 6f 63 75 6d 65 6e |pporting| documen|
|00003820| 74 61 74 69 6f 6e 2c 20 | 61 6e 64 20 74 68 61 74 |tation, |and that|
|00003830| 20 74 68 65 20 6e 61 6d | 65 73 20 6f 66 20 44 69 | the nam|es of Di|
|00003840| 67 69 74 61 6c 20 6f 72 | 20 4d 49 54 20 6e 6f 74 |gital or| MIT not|
|00003850| 20 62 65 0a 75 73 65 64 | 20 69 6e 20 61 64 76 65 | be.used| in adve|
|00003860| 72 74 69 73 69 6e 67 20 | 6f 72 20 70 75 62 6c 69 |rtising |or publi|
|00003870| 63 69 74 79 20 70 65 72 | 74 61 69 6e 69 6e 67 20 |city per|taining |
|00003880| 74 6f 20 64 69 73 74 72 | 69 62 75 74 69 6f 6e 20 |to distr|ibution |
|00003890| 6f 66 20 74 68 65 0a 73 | 6f 66 74 77 61 72 65 20 |of the.s|oftware |
|000038a0| 77 69 74 68 6f 75 74 20 | 73 70 65 63 69 66 69 63 |without |specific|
|000038b0| 2c 20 77 72 69 74 74 65 | 6e 20 70 72 69 6f 72 20 |, writte|n prior |
|000038c0| 70 65 72 6d 69 73 73 69 | 6f 6e 2e 20 20 0a 0a 44 |permissi|on. ..D|
|000038d0| 49 47 49 54 41 4c 20 44 | 49 53 43 4c 41 49 4d 53 |IGITAL D|ISCLAIMS|
|000038e0| 20 41 4c 4c 20 57 41 52 | 52 41 4e 54 49 45 53 20 | ALL WAR|RANTIES |
|000038f0| 57 49 54 48 20 52 45 47 | 41 52 44 20 54 4f 20 54 |WITH REG|ARD TO T|
|00003900| 48 49 53 20 53 4f 46 54 | 57 41 52 45 2c 20 49 4e |HIS SOFT|WARE, IN|
|00003910| 43 4c 55 44 49 4e 47 0a | 41 4c 4c 20 49 4d 50 4c |CLUDING.|ALL IMPL|
|00003920| 49 45 44 20 57 41 52 52 | 41 4e 54 49 45 53 20 4f |IED WARR|ANTIES O|
|00003930| 46 20 4d 45 52 43 48 41 | 4e 54 41 42 49 4c 49 54 |F MERCHA|NTABILIT|
|00003940| 59 20 41 4e 44 20 46 49 | 54 4e 45 53 53 2c 20 49 |Y AND FI|TNESS, I|
|00003950| 4e 20 4e 4f 20 45 56 45 | 4e 54 20 53 48 41 4c 4c |N NO EVE|NT SHALL|
|00003960| 0a 44 49 47 49 54 41 4c | 20 42 45 20 4c 49 41 42 |.DIGITAL| BE LIAB|
|00003970| 4c 45 20 46 4f 52 20 41 | 4e 59 20 53 50 45 43 49 |LE FOR A|NY SPECI|
|00003980| 41 4c 2c 20 49 4e 44 49 | 52 45 43 54 20 4f 52 20 |AL, INDI|RECT OR |
|00003990| 43 4f 4e 53 45 51 55 45 | 4e 54 49 41 4c 20 44 41 |CONSEQUE|NTIAL DA|
|000039a0| 4d 41 47 45 53 20 4f 52 | 0a 41 4e 59 20 44 41 4d |MAGES OR|.ANY DAM|
|000039b0| 41 47 45 53 20 57 48 41 | 54 53 4f 45 56 45 52 20 |AGES WHA|TSOEVER |
|000039c0| 52 45 53 55 4c 54 49 4e | 47 20 46 52 4f 4d 20 4c |RESULTIN|G FROM L|
|000039d0| 4f 53 53 20 4f 46 20 55 | 53 45 2c 20 44 41 54 41 |OSS OF U|SE, DATA|
|000039e0| 20 4f 52 20 50 52 4f 46 | 49 54 53 2c 0a 57 48 45 | OR PROF|ITS,.WHE|
|000039f0| 54 48 45 52 20 49 4e 20 | 41 4e 20 41 43 54 49 4f |THER IN |AN ACTIO|
|00003a00| 4e 20 4f 46 20 43 4f 4e | 54 52 41 43 54 2c 20 4e |N OF CON|TRACT, N|
|00003a10| 45 47 4c 49 47 45 4e 43 | 45 20 4f 52 20 4f 54 48 |EGLIGENC|E OR OTH|
|00003a20| 45 52 20 54 4f 52 54 49 | 4f 55 53 20 41 43 54 49 |ER TORTI|OUS ACTI|
|00003a30| 4f 4e 2c 0a 41 52 49 53 | 49 4e 47 20 4f 55 54 20 |ON,.ARIS|ING OUT |
|00003a40| 4f 46 20 4f 52 20 49 4e | 20 43 4f 4e 4e 45 43 54 |OF OR IN| CONNECT|
|00003a50| 49 4f 4e 20 57 49 54 48 | 20 54 48 45 20 55 53 45 |ION WITH| THE USE|
|00003a60| 20 4f 52 20 50 45 52 46 | 4f 52 4d 41 4e 43 45 20 | OR PERF|ORMANCE |
|00003a70| 4f 46 20 54 48 49 53 0a | 53 4f 46 54 57 41 52 45 |OF THIS.|SOFTWARE|
|00003a80| 2e 0a 0a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |...*****|********|
|00003a90| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00003aa0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00003ab0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00003ac0| 2a 2a 2a 2a 2a 2f 0a 2f | 2a 0a 2a 2a 20 46 69 6c |*****/./|*.** Fil|
|00003ad0| 65 3a 20 0a 2a 2a 0a 2a | 2a 20 20 20 78 76 72 6f |e: .**.*|* xvro|
|00003ae0| 70 2e 63 20 2d 2d 2d 20 | 58 76 20 52 61 73 74 65 |p.c --- |Xv Raste|
|00003af0| 72 4f 70 73 20 64 65 76 | 69 63 65 20 64 65 70 65 |rOps dev|ice depe|
|00003b00| 6e 64 65 6e 74 20 6d 6f | 64 75 6c 65 2e 0a 2a 2a |ndent mo|dule..**|
|00003b10| 0a 2a 2a 20 41 75 74 68 | 6f 72 3a 20 0a 2a 2a 0a |.** Auth|or: .**.|
|00003b20| 2a 2a 20 20 20 44 61 76 | 69 64 20 43 61 72 76 65 |** Dav|id Carve|
|00003b30| 72 20 28 44 69 67 69 74 | 61 6c 20 57 6f 72 6b 73 |r (Digit|al Works|
|00003b40| 74 61 74 69 6f 6e 20 45 | 6e 67 69 6e 65 65 72 69 |tation E|ngineeri|
|00003b50| 6e 67 2f 50 72 6f 6a 65 | 63 74 20 41 74 68 65 6e |ng/Proje|ct Athen|
|00003b60| 61 29 0a 2a 2a 0a 2a 2a | 20 52 65 76 69 73 69 6f |a).**.**| Revisio|
|00003b70| 6e 73 3a 0a 2a 2a 0a 2a | 2a 20 20 20 31 38 2e 30 |ns:.**.*|* 18.0|
|00003b80| 39 2e 39 31 20 43 61 72 | 76 65 72 0a 2a 2a 20 20 |9.91 Car|ver.** |
|00003b90| 20 20 20 2d 20 63 68 61 | 6e 67 65 64 20 69 6e 74 | - cha|nged int|
|00003ba0| 65 72 66 61 63 65 20 74 | 6f 20 6c 69 62 70 69 70 |erface t|o libpip|
|00003bb0| 2e 63 3b 20 6e 6f 77 20 | 75 73 65 73 20 70 69 70 |.c; now |uses pip|
|00003bc0| 5f 73 72 63 5f 61 72 65 | 61 20 61 6e 64 20 70 69 |_src_are|a and pi|
|00003bd0| 70 5f 64 73 74 5f 61 72 | 65 61 0a 2a 2a 20 20 20 |p_dst_ar|ea.** |
|00003be0| 20 20 20 20 69 6e 73 74 | 65 61 64 20 6f 66 20 70 | inst|ead of p|
|00003bf0| 69 70 5f 73 6f 75 72 63 | 65 5f 61 72 65 61 2c 20 |ip_sourc|e_area, |
|00003c00| 70 69 70 5f 6f 72 69 67 | 69 6e 2c 20 61 6e 64 20 |pip_orig|in, and |
|00003c10| 70 69 70 5f 73 69 7a 65 | 2e 0a 2a 2a 20 20 20 20 |pip_size|..** |
|00003c20| 20 2d 20 66 69 78 65 64 | 20 63 6f 6e 73 74 72 61 | - fixed| constra|
|00003c30| 69 6e 20 70 72 6f 63 65 | 64 75 72 65 20 74 6f 20 |in proce|dure to |
|00003c40| 63 6c 69 70 20 76 69 64 | 65 6f 20 64 65 73 74 69 |clip vid|eo desti|
|00003c50| 6e 61 74 69 6f 6e 20 74 | 6f 20 73 63 72 65 65 6e |nation t|o screen|
|00003c60| 20 62 6f 75 6e 64 73 0a | 2a 2a 0a 2a 2a 20 20 20 | bounds.|**.** |
|00003c70| 31 30 2e 30 39 2e 39 31 | 20 43 61 72 76 65 72 0a |10.09.91| Carver.|
|00003c80| 2a 2a 20 20 20 20 20 2d | 20 66 69 78 65 64 20 63 |** -| fixed c|
|00003c90| 61 6c 6c 73 20 74 6f 20 | 66 69 6c 6c 5f 76 69 64 |alls to |fill_vid|
|00003ca0| 65 6f 5f 65 6e 61 62 6c | 65 20 73 6f 6d 65 20 77 |eo_enabl|e some w|
|00003cb0| 65 72 65 20 6f 76 65 72 | 72 75 6e 6e 69 6e 67 20 |ere over|running |
|00003cc0| 62 6f 75 6e 64 73 0a 2a | 2a 20 20 20 20 20 20 20 |bounds.*|* |
|00003cd0| 6f 66 20 73 63 72 65 65 | 6e 2e 0a 2a 2a 0a 2a 2a |of scree|n..**.**|
|00003ce0| 20 20 20 32 39 2e 30 38 | 2e 39 31 20 43 61 72 76 | 29.08|.91 Carv|
|00003cf0| 65 72 0a 2a 2a 20 20 20 | 20 20 2d 20 63 68 61 6e |er.** | - chan|
|00003d00| 67 65 3a 20 75 6e 72 65 | 61 6c 69 7a 69 6e 67 20 |ge: unre|alizing |
|00003d10| 77 69 6e 64 6f 77 73 20 | 6e 6f 20 6c 6f 6e 67 65 |windows |no longe|
|00003d20| 72 20 70 72 65 65 6d 70 | 74 73 20 76 69 64 65 6f |r preemp|ts video|
|00003d30| 0a 2a 2a 20 20 20 20 20 | 2d 20 61 64 64 65 64 20 |.** |- added |
|00003d40| 73 75 70 70 6f 72 74 20 | 66 6f 72 20 64 75 74 79 |support |for duty|
|00003d50| 20 63 79 63 6c 65 20 28 | 76 69 64 65 6f 20 70 72 | cycle (|video pr|
|00003d60| 69 6f 72 69 74 79 29 20 | 6d 61 6e 61 67 65 6d 65 |iority) |manageme|
|00003d70| 6e 74 0a 2a 2a 20 20 20 | 20 20 2d 20 61 64 64 65 |nt.** | - adde|
|00003d80| 64 20 73 75 70 70 6f 72 | 74 20 66 6f 72 20 76 69 |d suppor|t for vi|
|00003d90| 64 65 6f 20 69 6e 20 53 | 74 61 74 69 63 47 72 61 |deo in S|taticGra|
|00003da0| 79 20 77 69 6e 64 6f 77 | 73 0a 2a 2a 20 20 20 20 |y window|s.** |
|00003db0| 20 2d 20 61 64 64 65 64 | 20 69 6e 63 6c 75 64 65 | - added| include|
|00003dc0| 20 6f 66 20 63 66 62 2e | 68 3b 20 6e 65 65 64 65 | of cfb.|h; neede|
|00003dd0| 64 20 74 6f 20 61 63 63 | 65 73 73 20 38 20 70 6c |d to acc|ess 8 pl|
|00003de0| 61 6e 65 20 67 63 20 70 | 72 69 76 20 73 74 72 75 |ane gc p|riv stru|
|00003df0| 63 74 75 72 65 0a 2a 2a | 20 20 20 20 20 2d 20 63 |cture.**| - c|
|00003e00| 68 61 6e 67 65 64 20 69 | 6e 74 65 72 66 61 63 65 |hanged i|nterface|
|00003e10| 73 20 74 6f 20 72 6f 70 | 2e 63 20 61 6e 64 20 6c |s to rop|.c and l|
|00003e20| 69 62 70 69 70 2e 63 20 | 74 6f 20 75 73 65 20 52 |ibpip.c |to use R|
|00003e30| 6f 70 50 74 72 20 75 6e | 69 66 6f 72 6d 6c 79 0a |opPtr un|iformly.|
|00003e40| 2a 2a 20 20 20 20 20 2d | 20 63 68 61 6e 67 65 64 |** -| changed|
|00003e50| 20 75 6c 74 72 69 78 20 | 63 6f 6e 64 69 74 69 6f | ultrix |conditio|
|00003e60| 6e 61 6c 20 63 6f 6d 70 | 69 6c 65 20 73 6f 20 74 |nal comp|ile so t|
|00003e70| 68 69 73 20 66 69 6c 65 | 20 77 6f 72 6b 73 20 66 |his file| works f|
|00003e80| 6f 72 20 62 6f 74 68 0a | 2a 2a 20 20 20 20 20 20 |or both.|** |
|00003e90| 20 73 75 6e 20 61 6e 64 | 20 64 65 63 20 62 6f 61 | sun and| dec boa|
|00003ea0| 72 64 73 0a 2a 2a 0a 2a | 2a 20 20 20 32 36 2e 30 |rds.**.*|* 26.0|
|00003eb0| 36 2e 39 31 20 43 61 72 | 76 65 72 0a 2a 2a 20 20 |6.91 Car|ver.** |
|00003ec0| 20 20 20 2d 20 66 69 78 | 65 64 20 47 43 20 77 72 | - fix|ed GC wr|
|00003ed0| 61 70 70 69 6e 67 20 6c | 6f 67 69 63 20 69 6e 20 |apping l|ogic in |
|00003ee0| 61 20 62 69 67 20 77 61 | 79 0a 2a 2a 20 20 20 20 |a big wa|y.** |
|00003ef0| 20 2d 20 66 69 78 65 64 | 20 58 76 72 6f 70 56 61 | - fixed| XvropVa|
|00003f00| 6c 69 64 61 74 65 47 43 | 3b 20 69 74 20 68 61 64 |lidateGC|; it had|
|00003f10| 20 74 68 65 20 77 72 6f | 6e 67 20 61 72 67 75 6d | the wro|ng argum|
|00003f20| 65 6e 74 20 64 65 66 69 | 6e 69 74 69 6f 6e 0a 2a |ent defi|nition.*|
|00003f30| 2a 20 20 20 20 20 20 20 | 63 61 6e 27 74 20 62 65 |* |can't be|
|00003f40| 6c 69 65 76 65 20 74 68 | 61 74 20 69 74 20 65 76 |lieve th|at it ev|
|00003f50| 65 72 20 77 6f 72 6b 65 | 64 2e 0a 2a 2a 20 20 20 |er worke|d..** |
|00003f60| 20 20 2d 20 66 69 78 65 | 64 20 58 76 72 6f 70 53 | - fixe|d XvropS|
|00003f70| 74 6f 70 56 69 64 65 6f | 20 74 6f 20 63 68 65 63 |topVideo| to chec|
|00003f80| 6b 20 74 6f 20 73 65 65 | 20 69 66 20 74 68 65 20 |k to see| if the |
|00003f90| 47 43 20 73 74 69 6c 6c | 20 65 78 69 73 74 73 0a |GC still| exists.|
|00003fa0| 2a 2a 20 20 20 20 20 20 | 20 62 65 66 6f 72 65 20 |** | before |
|00003fb0| 69 74 20 72 65 66 65 72 | 65 6e 63 65 73 20 61 20 |it refer|ences a |
|00003fc0| 70 6f 69 6e 74 65 72 20 | 74 6f 20 69 74 2e 0a 2a |pointer |to it..*|
|00003fd0| 2a 0a 2a 2a 20 20 20 31 | 31 2e 30 36 2e 39 31 20 |*.** 1|1.06.91 |
|00003fe0| 43 61 72 76 65 72 0a 2a | 2a 20 20 20 20 20 2d 20 |Carver.*|* - |
|00003ff0| 63 68 61 6e 67 65 64 20 | 53 65 74 50 6f 72 74 43 |changed |SetPortC|
|00004000| 6f 6e 74 72 6f 6c 20 74 | 6f 20 53 65 74 50 6f 72 |ontrol t|o SetPor|
|00004010| 74 41 74 74 72 69 62 75 | 74 65 0a 2a 2a 20 20 20 |tAttribu|te.** |
|00004020| 20 20 2d 20 63 68 61 6e | 67 65 64 20 47 65 74 50 | - chan|ged GetP|
|00004030| 6f 72 74 43 6f 6e 74 72 | 6f 6c 20 74 6f 20 47 65 |ortContr|ol to Ge|
|00004040| 74 50 6f 72 74 41 74 74 | 72 69 62 75 74 65 0a 2a |tPortAtt|ribute.*|
|00004050| 2a 20 20 20 20 20 2d 20 | 63 68 61 6e 67 65 64 20 |* - |changed |
|00004060| 51 75 65 72 79 42 65 73 | 74 53 69 7a 65 0a 2a 2a |QueryBes|tSize.**|
|00004070| 0a 2a 2a 20 20 20 30 34 | 2e 30 36 2e 39 31 20 43 |.** 04|.06.91 C|
|00004080| 61 72 76 65 72 0a 2a 2a | 20 20 20 20 20 2d 20 63 |arver.**| - c|
|00004090| 6f 6d 70 6c 65 74 65 64 | 20 69 6d 70 6c 65 6d 65 |ompleted| impleme|
|000040a0| 6e 74 69 6e 67 20 70 6f | 72 74 20 63 6f 6e 74 72 |nting po|rt contr|
|000040b0| 6f 6c 73 0a 2a 2a 20 20 | 20 20 20 2d 20 75 73 65 |ols.** | - use|
|000040c0| 64 20 63 6f 64 65 20 66 | 72 6f 6d 20 52 2e 20 55 |d code f|rom R. U|
|000040d0| 6c 69 63 68 6e 65 79 20 | 74 6f 20 74 6f 20 63 6f |lichney |to to co|
|000040e0| 6e 74 72 61 73 74 20 61 | 6e 64 20 62 72 69 67 68 |ntrast a|nd brigh|
|000040f0| 74 6e 65 73 73 20 63 61 | 6c 63 27 73 0a 2a 2a 20 |tness ca|lc's.** |
|00004100| 20 20 20 20 2d 20 63 68 | 61 6e 67 65 64 20 69 6e | - ch|anged in|
|00004110| 74 65 72 66 61 63 65 20 | 74 6f 20 6c 69 62 70 69 |terface |to libpi|
|00004120| 70 2e 63 2c 20 75 73 65 | 20 6e 65 77 20 6c 69 62 |p.c, use| new lib|
|00004130| 70 69 70 2e 68 20 68 65 | 61 64 65 72 20 66 69 6c |pip.h he|ader fil|
|00004140| 65 0a 2a 2a 0a 2a 2a 20 | 20 20 33 31 2e 30 35 2e |e.**.** | 31.05.|
|00004150| 39 31 20 43 61 72 76 65 | 72 0a 2a 2a 20 20 20 20 |91 Carve|r.** |
|00004160| 20 2d 20 6d 61 64 65 20 | 62 69 67 20 66 69 78 65 | - made |big fixe|
|00004170| 73 20 74 6f 20 6f 63 63 | 6c 75 73 69 6f 6e 20 73 |s to occ|lusion s|
|00004180| 74 75 66 66 0a 2a 2a 20 | 20 20 20 20 2d 20 66 69 |tuff.** | - fi|
|00004190| 78 65 64 20 76 69 64 65 | 6f 20 69 6d 61 67 65 20 |xed vide|o image |
|000041a0| 6f 66 66 73 65 74 20 61 | 6e 64 20 73 69 7a 65 0a |offset a|nd size.|
|000041b0| 2a 2a 0a 2a 2a 20 20 20 | 32 33 2e 30 35 2e 39 31 |**.** |23.05.91|
|000041c0| 20 43 61 72 76 65 72 0a | 2a 2a 20 20 20 20 20 2d | Carver.|** -|
|000041d0| 20 63 68 65 63 6b 20 66 | 6f 72 20 70 69 70 20 65 | check f|or pip e|
|000041e0| 78 69 73 74 61 6e 63 65 | 20 62 65 66 6f 72 65 20 |xistance| before |
|000041f0| 69 6e 69 74 69 61 6c 69 | 7a 69 6e 67 20 74 68 65 |initiali|zing the|
|00004200| 20 61 64 61 70 74 6f 72 | 0a 2a 2a 0a 2a 2a 20 20 | adaptor|.**.** |
|00004210| 20 31 35 2e 30 35 2e 39 | 31 20 43 61 72 76 65 72 | 15.05.9|1 Carver|
|00004220| 0a 2a 2a 20 20 20 20 20 | 2d 20 76 65 72 73 69 6f |.** |- versio|
|00004230| 6e 20 32 2e 30 20 75 70 | 67 72 61 64 65 0a 2a 2a |n 2.0 up|grade.**|
|00004240| 0a 2a 2a 20 20 20 32 34 | 2e 30 34 2e 39 31 20 43 |.** 24|.04.91 C|
|00004250| 61 72 76 65 72 0a 2a 2a | 20 20 20 20 20 2d 20 75 |arver.**| - u|
|00004260| 70 64 61 74 65 64 20 74 | 6f 20 75 73 65 20 32 34 |pdated t|o use 24|
|00004270| 20 70 6c 61 6e 65 20 73 | 75 70 70 6f 72 74 2e 0a | plane s|upport..|
|00004280| 2a 2a 0a 2a 2a 20 20 20 | 31 39 2e 30 33 2e 39 31 |**.** |19.03.91|
|00004290| 20 43 61 72 76 65 72 0a | 2a 2a 20 20 20 20 20 2d | Carver.|** -|
|000042a0| 20 6f 72 69 67 69 6f 6e | 61 6c 20 76 65 72 73 69 | origion|al versi|
|000042b0| 6f 6e 20 63 6f 64 65 64 | 20 74 6f 20 76 31 72 34 |on coded| to v1r4|
|000042c0| 2e 0a 2a 2a 0a 2a 2f 0a | 0a 23 69 6e 63 6c 75 64 |..**.*/.|.#includ|
|000042d0| 65 20 3c 73 74 64 69 6f | 2e 68 3e 0a 0a 23 69 6e |e <stdio|.h>..#in|
|000042e0| 63 6c 75 64 65 20 3c 73 | 79 73 2f 74 79 70 65 73 |clude <s|ys/types|
|000042f0| 2e 68 3e 0a 0a 23 69 6e | 63 6c 75 64 65 20 22 58 |.h>..#in|clude "X|
|00004300| 2e 68 22 0a 23 69 6e 63 | 6c 75 64 65 20 22 58 70 |.h".#inc|lude "Xp|
|00004310| 72 6f 74 6f 2e 68 22 0a | 23 69 6e 63 6c 75 64 65 |roto.h".|#include|
|00004320| 20 22 73 63 72 6e 69 6e | 74 73 74 72 2e 68 22 0a | "scrnin|tstr.h".|
|00004330| 23 69 6e 63 6c 75 64 65 | 20 22 76 61 6c 69 64 61 |#include| "valida|
|00004340| 74 65 2e 68 22 0a 23 69 | 6e 63 6c 75 64 65 20 22 |te.h".#i|nclude "|
|00004350| 77 69 6e 64 6f 77 73 74 | 72 2e 68 22 0a 23 69 6e |windowst|r.h".#in|
|00004360| 63 6c 75 64 65 20 22 70 | 69 78 6d 61 70 73 74 72 |clude "p|ixmapstr|
|00004370| 2e 68 22 0a 23 69 6e 63 | 6c 75 64 65 20 22 67 63 |.h".#inc|lude "gc|
|00004380| 73 74 72 75 63 74 2e 68 | 22 0a 23 69 6e 63 6c 75 |struct.h|".#inclu|
|00004390| 64 65 20 22 64 69 78 73 | 74 72 75 63 74 2e 68 22 |de "dixs|truct.h"|
|000043a0| 0a 23 69 6e 63 6c 75 64 | 65 20 22 63 66 62 2e 68 |.#includ|e "cfb.h|
|000043b0| 22 0a 0a 23 69 6e 63 6c | 75 64 65 20 22 58 76 2e |"..#incl|ude "Xv.|
|000043c0| 68 22 0a 23 69 6e 63 6c | 75 64 65 20 22 58 76 70 |h".#incl|ude "Xvp|
|000043d0| 72 6f 74 6f 2e 68 22 0a | 23 69 6e 63 6c 75 64 65 |roto.h".|#include|
|000043e0| 20 22 78 76 64 69 78 2e | 68 22 0a 0a 23 69 66 64 | "xvdix.|h"..#ifd|
|000043f0| 65 66 20 75 6c 74 72 69 | 78 0a 23 69 6e 63 6c 75 |ef ultri|x.#inclu|
|00004400| 64 65 20 3c 73 79 73 2f | 77 6f 72 6b 73 74 61 74 |de <sys/|workstat|
|00004410| 69 6f 6e 2e 68 3e 20 20 | 20 20 20 20 20 20 2f 2a |ion.h> | /*|
|00004420| 20 55 4c 54 52 49 58 20 | 57 4f 52 4b 53 54 41 54 | ULTRIX |WORKSTAT|
|00004430| 49 4f 4e 20 44 52 49 56 | 45 52 20 48 45 41 44 45 |ION DRIV|ER HEADE|
|00004440| 52 20 2a 2f 0a 23 69 6e | 63 6c 75 64 65 20 3c 73 |R */.#in|clude <s|
|00004450| 79 73 2f 70 6d 61 67 72 | 6f 2e 68 3e 20 20 20 20 |ys/pmagr|o.h> |
|00004460| 20 20 20 20 20 20 20 20 | 20 2f 2a 20 55 4c 54 52 | | /* ULTR|
|00004470| 49 58 20 52 41 53 54 45 | 52 4f 50 53 20 44 52 49 |IX RASTE|ROPS DRI|
|00004480| 56 45 52 20 48 45 41 44 | 45 52 20 2a 2f 0a 23 65 |VER HEAD|ER */.#e|
|00004490| 6e 64 69 66 20 75 6c 74 | 72 69 78 0a 0a 23 69 66 |ndif ult|rix..#if|
|000044a0| 64 65 66 20 44 45 43 57 | 49 4e 44 4f 57 53 0a 23 |def DECW|INDOWS.#|
|000044b0| 69 6e 63 6c 75 64 65 20 | 22 74 66 62 2e 68 22 0a |include |"tfb.h".|
|000044c0| 23 65 6c 73 65 0a 23 64 | 65 66 69 6e 65 20 74 66 |#else.#d|efine tf|
|000044d0| 62 50 72 69 76 47 43 50 | 74 72 20 63 66 62 50 72 |bPrivGCP|tr cfbPr|
|000044e0| 69 76 47 43 50 74 72 0a | 23 64 65 66 69 6e 65 20 |ivGCPtr.|#define |
|000044f0| 74 66 62 47 43 50 72 69 | 76 61 74 65 49 6e 64 65 |tfbGCPri|vateInde|
|00004500| 78 20 63 66 62 47 43 50 | 72 69 76 61 74 65 49 6e |x cfbGCP|rivateIn|
|00004510| 64 65 78 0a 23 65 6e 64 | 69 66 0a 0a 23 64 65 66 |dex.#end|if..#def|
|00004520| 69 6e 65 20 47 4c 4f 42 | 41 4c 0a 23 69 6e 63 6c |ine GLOB|AL.#incl|
|00004530| 75 64 65 20 22 78 76 72 | 6f 70 2e 68 22 0a 23 75 |ude "xvr|op.h".#u|
|00004540| 6e 64 65 66 20 47 4c 4f | 42 41 4c 0a 0a 2f 2a 20 |ndef GLO|BAL../* |
|00004550| 49 4e 54 45 52 4e 41 4c | 20 2a 2f 0a 0a 73 74 61 |INTERNAL| */..sta|
|00004560| 74 69 63 20 42 6f 6f 6c | 20 58 76 72 6f 70 43 6c |tic Bool| XvropCl|
|00004570| 6f 73 65 53 63 72 65 65 | 6e 28 29 3b 0a 73 74 61 |oseScree|n();.sta|
|00004580| 74 69 63 20 69 6e 74 20 | 58 76 72 6f 70 51 75 65 |tic int |XvropQue|
|00004590| 72 79 41 64 61 70 74 6f | 72 73 28 29 3b 0a 73 74 |ryAdapto|rs();.st|
|000045a0| 61 74 69 63 20 69 6e 74 | 20 58 76 72 6f 70 49 6e |atic int| XvropIn|
|000045b0| 69 74 41 64 61 70 74 6f | 72 28 29 3b 0a 73 74 61 |itAdapto|r();.sta|
|000045c0| 74 69 63 20 69 6e 74 20 | 58 76 72 6f 70 41 6c 6c |tic int |XvropAll|
|000045d0| 6f 63 61 74 65 50 6f 72 | 74 28 29 3b 0a 73 74 61 |ocatePor|t();.sta|
|000045e0| 74 69 63 20 69 6e 74 20 | 58 76 72 6f 70 46 72 65 |tic int |XvropFre|
|000045f0| 65 50 6f 72 74 28 29 3b | 0a 73 74 61 74 69 63 20 |ePort();|.static |
|00004600| 69 6e 74 20 58 76 72 6f | 70 50 75 74 56 69 64 65 |int Xvro|pPutVide|
|00004610| 6f 28 29 3b 0a 73 74 61 | 74 69 63 20 69 6e 74 20 |o();.sta|tic int |
|00004620| 58 76 72 6f 70 50 75 74 | 53 74 69 6c 6c 28 29 3b |XvropPut|Still();|
|00004630| 0a 73 74 61 74 69 63 20 | 69 6e 74 20 58 76 72 6f |.static |int Xvro|
|00004640| 70 47 65 74 56 69 64 65 | 6f 28 29 3b 0a 73 74 61 |pGetVide|o();.sta|
|00004650| 74 69 63 20 69 6e 74 20 | 58 76 72 6f 70 47 65 74 |tic int |XvropGet|
|00004660| 53 74 69 6c 6c 28 29 3b | 0a 73 74 61 74 69 63 20 |Still();|.static |
|00004670| 69 6e 74 20 58 76 72 6f | 70 53 74 6f 70 56 69 64 |int Xvro|pStopVid|
|00004680| 65 6f 28 29 3b 0a 73 74 | 61 74 69 63 20 69 6e 74 |eo();.st|atic int|
|00004690| 20 58 76 72 6f 70 53 65 | 74 50 6f 72 74 41 74 74 | XvropSe|tPortAtt|
|000046a0| 72 69 62 75 74 65 28 29 | 3b 0a 73 74 61 74 69 63 |ribute()|;.static|
|000046b0| 20 69 6e 74 20 58 76 72 | 6f 70 47 65 74 50 6f 72 | int Xvr|opGetPor|
|000046c0| 74 41 74 74 72 69 62 75 | 74 65 28 29 3b 0a 73 74 |tAttribu|te();.st|
|000046d0| 61 74 69 63 20 69 6e 74 | 20 58 76 72 6f 70 51 75 |atic int| XvropQu|
|000046e0| 65 72 79 42 65 73 74 53 | 69 7a 65 28 29 3b 0a 0a |eryBestS|ize();..|
|000046f0| 73 74 61 74 69 63 20 70 | 6f 69 6e 74 65 72 20 58 |static p|ointer X|
|00004700| 76 72 6f 70 50 69 70 49 | 6e 69 74 28 29 3b 0a 0a |vropPipI|nit();..|
|00004710| 73 74 61 74 69 63 20 76 | 6f 69 64 20 58 76 72 6f |static v|oid Xvro|
|00004720| 70 43 6c 69 70 4e 6f 74 | 69 66 79 28 29 3b 0a 73 |pClipNot|ify();.s|
|00004730| 74 61 74 69 63 20 76 6f | 69 64 20 58 76 72 6f 70 |tatic vo|id Xvrop|
|00004740| 43 6f 70 79 57 69 6e 64 | 6f 77 28 29 3b 0a 73 74 |CopyWind|ow();.st|
|00004750| 61 74 69 63 20 42 6f 6f | 6c 20 58 76 72 6f 70 55 |atic Boo|l XvropU|
|00004760| 6e 72 65 61 6c 69 7a 65 | 57 69 6e 64 6f 77 28 29 |nrealize|Window()|
|00004770| 3b 0a 73 74 61 74 69 63 | 20 76 6f 69 64 20 58 76 |;.static| void Xv|
|00004780| 72 6f 70 57 69 6e 64 6f | 77 45 78 70 6f 73 75 72 |ropWindo|wExposur|
|00004790| 65 73 28 29 3b 0a 0a 73 | 74 61 74 69 63 20 76 6f |es();..s|tatic vo|
|000047a0| 69 64 20 58 76 72 6f 70 | 44 65 73 74 72 6f 79 47 |id Xvrop|DestroyG|
|000047b0| 43 28 29 3b 0a 73 74 61 | 74 69 63 20 76 6f 69 64 |C();.sta|tic void|
|000047c0| 20 58 76 72 6f 70 56 61 | 6c 69 64 61 74 65 47 43 | XvropVa|lidateGC|
|000047d0| 28 29 3b 0a 0a 2f 2a 20 | 4e 4f 54 45 20 54 48 41 |();../* |NOTE THA|
|000047e0| 54 20 57 45 20 4f 4e 4c | 59 20 4e 45 45 44 20 54 |T WE ONL|Y NEED T|
|000047f0| 4f 20 57 52 41 50 20 4f | 4e 45 20 47 43 20 41 54 |O WRAP O|NE GC AT|
|00004800| 20 41 20 54 49 4d 45 3b | 20 46 4f 52 20 54 48 49 | A TIME;| FOR THI|
|00004810| 53 20 52 45 41 53 4f 4e | 20 57 45 20 44 4f 4e 27 |S REASON| WE DON'|
|00004820| 54 0a 20 20 20 55 53 45 | 20 41 20 47 43 20 50 52 |T. USE| A GC PR|
|00004830| 49 56 41 54 45 20 53 54 | 52 55 43 54 55 52 45 20 |IVATE ST|RUCTURE |
|00004840| 54 4f 20 53 41 56 45 20 | 54 48 45 20 57 52 41 50 |TO SAVE |THE WRAP|
|00004850| 20 46 55 4e 43 53 3b 20 | 57 48 45 4e 20 57 45 20 | FUNCS; |WHEN WE |
|00004860| 41 52 45 20 46 49 4e 49 | 53 48 45 44 0a 20 20 20 |ARE FINI|SHED. |
|00004870| 55 53 49 4e 47 20 41 20 | 47 43 20 46 4f 52 20 56 |USING A |GC FOR V|
|00004880| 49 44 45 4f 20 57 45 20 | 57 41 4e 54 20 54 4f 20 |IDEO WE |WANT TO |
|00004890| 55 4e 57 52 41 50 20 49 | 54 2c 20 42 55 54 20 57 |UNWRAP I|T, BUT W|
|000048a0| 45 20 4e 45 45 44 20 54 | 4f 20 42 45 20 49 4e 20 |E NEED T|O BE IN |
|000048b0| 41 20 46 55 4e 43 20 49 | 4e 20 0a 20 20 20 4f 52 |A FUNC I|N . OR|
|000048c0| 44 45 52 20 54 4f 20 55 | 4e 57 52 41 50 20 49 54 |DER TO U|NWRAP IT|
|000048d0| 2c 20 53 4f 20 57 45 20 | 55 53 45 20 43 68 61 6e |, SO WE |USE Chan|
|000048e0| 67 65 47 43 20 57 49 54 | 48 20 41 20 4e 55 4c 4c |geGC WIT|H A NULL|
|000048f0| 20 4d 41 53 4b 20 54 4f | 20 44 4f 20 54 48 45 0a | MASK TO| DO THE.|
|00004900| 20 20 20 55 4e 57 52 41 | 50 50 49 4e 47 3b 20 49 | UNWRA|PPING; I|
|00004910| 54 53 20 41 20 48 41 43 | 4b 20 42 55 54 20 53 41 |TS A HAC|K BUT SA|
|00004920| 56 45 53 20 55 4e 4e 45 | 43 45 53 53 41 52 59 20 |VES UNNE|CESSARY |
|00004930| 41 4c 4c 4f 43 41 54 49 | 4f 4e 53 20 2a 2f 0a 0a |ALLOCATI|ONS */..|
|00004940| 73 74 61 74 69 63 20 76 | 6f 69 64 20 58 76 72 6f |static v|oid Xvro|
|00004950| 70 56 61 6c 69 64 61 74 | 65 47 43 20 28 29 2c 20 |pValidat|eGC (), |
|00004960| 20 58 76 72 6f 70 43 6f | 70 79 47 43 20 28 29 2c | XvropCo|pyGC (),|
|00004970| 20 20 20 20 20 20 58 76 | 72 6f 70 44 65 73 74 72 | Xv|ropDestr|
|00004980| 6f 79 47 43 28 29 3b 0a | 73 74 61 74 69 63 20 76 |oyGC();.|static v|
|00004990| 6f 69 64 20 58 76 72 6f | 70 43 68 61 6e 67 65 47 |oid Xvro|pChangeG|
|000049a0| 43 28 29 3b 0a 73 74 61 | 74 69 63 20 76 6f 69 64 |C();.sta|tic void|
|000049b0| 20 58 76 72 6f 70 43 68 | 61 6e 67 65 43 6c 69 70 | XvropCh|angeClip|
|000049c0| 28 29 2c 20 20 20 58 76 | 72 6f 70 44 65 73 74 72 |(), Xv|ropDestr|
|000049d0| 6f 79 43 6c 69 70 28 29 | 2c 20 20 58 76 72 6f 70 |oyClip()|, Xvrop|
|000049e0| 43 6f 70 79 43 6c 69 70 | 28 29 3b 0a 0a 73 74 61 |CopyClip|();..sta|
|000049f0| 74 69 63 20 47 43 46 75 | 6e 63 73 20 20 58 76 72 |tic GCFu|ncs Xvr|
|00004a00| 6f 70 47 43 46 75 6e 63 | 73 20 3d 20 0a 7b 0a 20 |opGCFunc|s = .{. |
|00004a10| 20 58 76 72 6f 70 56 61 | 6c 69 64 61 74 65 47 43 | XvropVa|lidateGC|
|00004a20| 2c 0a 20 20 58 76 72 6f | 70 43 68 61 6e 67 65 47 |,. Xvro|pChangeG|
|00004a30| 43 2c 0a 20 20 58 76 72 | 6f 70 43 6f 70 79 47 43 |C,. Xvr|opCopyGC|
|00004a40| 2c 0a 20 20 58 76 72 6f | 70 44 65 73 74 72 6f 79 |,. Xvro|pDestroy|
|00004a50| 47 43 2c 0a 20 20 58 76 | 72 6f 70 43 68 61 6e 67 |GC,. Xv|ropChang|
|00004a60| 65 43 6c 69 70 2c 0a 20 | 20 58 76 72 6f 70 44 65 |eClip,. | XvropDe|
|00004a70| 73 74 72 6f 79 43 6c 69 | 70 2c 0a 20 20 58 76 72 |stroyCli|p,. Xvr|
|00004a80| 6f 70 43 6f 70 79 43 6c | 69 70 0a 7d 3b 0a 0a 69 |opCopyCl|ip.};..i|
|00004a90| 6e 74 0a 58 76 72 6f 70 | 53 63 72 65 65 6e 49 6e |nt.Xvrop|ScreenIn|
|00004aa0| 69 74 28 70 53 63 72 65 | 65 6e 29 0a 0a 53 63 72 |it(pScre|en)..Scr|
|00004ab0| 65 65 6e 50 74 72 20 70 | 53 63 72 65 65 6e 3b 0a |eenPtr p|Screen;.|
|00004ac0| 0a 7b 0a 20 20 58 76 72 | 6f 70 53 63 72 65 65 6e |.{. Xvr|opScreen|
|00004ad0| 50 74 72 20 70 72 6f 70 | 73 3b 0a 20 20 58 76 53 |Ptr prop|s;. XvS|
|00004ae0| 63 72 65 65 6e 50 74 72 | 20 70 78 76 73 3b 0a 20 |creenPtr| pxvs;. |
|00004af0| 20 69 6e 74 20 73 74 61 | 74 75 73 3b 0a 0a 20 20 | int sta|tus;.. |
|00004b00| 2f 2a 20 41 4c 4c 20 58 | 56 20 44 44 20 53 43 52 |/* ALL X|V DD SCR|
|00004b10| 45 45 4e 20 49 4e 49 54 | 20 50 52 4f 43 53 20 4e |EEN INIT| PROCS N|
|00004b20| 45 45 44 20 54 4f 20 43 | 41 4c 4c 20 54 48 45 20 |EED TO C|ALL THE |
|00004b30| 44 49 20 53 43 52 45 45 | 4e 20 49 4e 49 54 20 50 |DI SCREE|N INIT P|
|00004b40| 52 4f 43 20 46 49 52 53 | 54 20 2a 2f 0a 0a 20 20 |ROC FIRS|T */.. |
|00004b50| 58 76 53 63 72 65 65 6e | 49 6e 69 74 28 70 53 63 |XvScreen|Init(pSc|
|00004b60| 72 65 65 6e 29 3b 0a 0a | 20 20 70 78 76 73 20 3d |reen);..| pxvs =|
|00004b70| 20 28 58 76 53 63 72 65 | 65 6e 50 74 72 29 70 53 | (XvScre|enPtr)pS|
|00004b80| 63 72 65 65 6e 2d 3e 64 | 65 76 50 72 69 76 61 74 |creen->d|evPrivat|
|00004b90| 65 73 5b 58 76 53 63 72 | 65 65 6e 49 6e 64 65 78 |es[XvScr|eenIndex|
|00004ba0| 5d 2e 70 74 72 3b 0a 0a | 20 20 69 66 20 28 28 73 |].ptr;..| if ((s|
|00004bb0| 74 61 74 75 73 20 3d 20 | 58 76 72 6f 70 49 6e 69 |tatus = |XvropIni|
|00004bc0| 74 41 64 61 70 74 6f 72 | 28 70 53 63 72 65 65 6e |tAdaptor|(pScreen|
|00004bd0| 29 29 20 21 3d 20 53 75 | 63 63 65 73 73 29 0a 20 |)) != Su|ccess). |
|00004be0| 20 20 20 72 65 74 75 72 | 6e 20 73 74 61 74 75 73 | retur|n status|
|00004bf0| 3b 0a 0a 0a 20 20 2f 2a | 20 58 58 58 20 2d 2d 2d |;... /*| XXX ---|
|00004c00| 20 54 48 45 53 45 20 53 | 48 4f 55 4c 44 20 42 45 | THESE S|HOULD BE|
|00004c10| 20 43 48 41 49 4e 45 44 | 20 46 4f 52 20 4d 55 4c | CHAINED| FOR MUL|
|00004c20| 54 49 50 4c 45 20 41 44 | 41 50 54 4f 52 20 53 55 |TIPLE AD|APTOR SU|
|00004c30| 50 50 4f 52 54 20 2a 2f | 0a 0a 20 20 70 78 76 73 |PPORT */|.. pxvs|
|00004c40| 2d 3e 64 64 43 6c 6f 73 | 65 53 63 72 65 65 6e 20 |->ddClos|eScreen |
|00004c50| 3d 20 58 76 72 6f 70 43 | 6c 6f 73 65 53 63 72 65 |= XvropC|loseScre|
|00004c60| 65 6e 3b 0a 20 20 70 78 | 76 73 2d 3e 64 64 51 75 |en;. px|vs->ddQu|
|00004c70| 65 72 79 41 64 61 70 74 | 6f 72 73 20 3d 20 58 76 |eryAdapt|ors = Xv|
|00004c80| 72 6f 70 51 75 65 72 79 | 41 64 61 70 74 6f 72 73 |ropQuery|Adaptors|
|00004c90| 3b 0a 0a 20 20 69 66 20 | 28 21 28 70 72 6f 70 73 |;.. if |(!(props|
|00004ca0| 20 3d 20 28 58 76 72 6f | 70 53 63 72 65 65 6e 50 | = (Xvro|pScreenP|
|00004cb0| 74 72 29 78 61 6c 6c 6f | 63 28 73 69 7a 65 6f 66 |tr)xallo|c(sizeof|
|00004cc0| 28 58 76 72 6f 70 50 6f | 72 74 52 65 63 29 29 29 |(XvropPo|rtRec)))|
|00004cd0| 29 0a 20 20 20 20 7b 0a | 20 20 20 20 20 20 72 65 |). {.| re|
|00004ce0| 74 75 72 6e 20 42 61 64 | 41 6c 6c 6f 63 3b 0a 20 |turn Bad|Alloc;. |
|00004cf0| 20 20 20 7d 0a 20 20 70 | 78 76 73 2d 3e 64 65 76 | }. p|xvs->dev|
|00004d00| 50 72 69 76 2e 70 74 72 | 20 3d 20 28 70 6f 69 6e |Priv.ptr| = (poin|
|00004d10| 74 65 72 29 70 72 6f 70 | 73 3b 0a 0a 20 20 70 72 |ter)prop|s;.. pr|
|00004d20| 6f 70 73 2d 3e 57 69 6e | 64 6f 77 45 78 70 6f 73 |ops->Win|dowExpos|
|00004d30| 75 72 65 73 20 3d 20 70 | 53 63 72 65 65 6e 2d 3e |ures = p|Screen->|
|00004d40| 57 69 6e 64 6f 77 45 78 | 70 6f 73 75 72 65 73 3b |WindowEx|posures;|
|00004d50| 0a 20 20 70 53 63 72 65 | 65 6e 2d 3e 57 69 6e 64 |. pScre|en->Wind|
|00004d60| 6f 77 45 78 70 6f 73 75 | 72 65 73 20 3d 20 58 76 |owExposu|res = Xv|
|00004d70| 72 6f 70 57 69 6e 64 6f | 77 45 78 70 6f 73 75 72 |ropWindo|wExposur|
|00004d80| 65 73 3b 0a 0a 20 20 70 | 72 6f 70 73 2d 3e 55 6e |es;.. p|rops->Un|
|00004d90| 72 65 61 6c 69 7a 65 57 | 69 6e 64 6f 77 20 3d 20 |realizeW|indow = |
|00004da0| 70 53 63 72 65 65 6e 2d | 3e 55 6e 72 65 61 6c 69 |pScreen-|>Unreali|
|00004db0| 7a 65 57 69 6e 64 6f 77 | 3b 0a 20 20 70 53 63 72 |zeWindow|;. pScr|
|00004dc0| 65 65 6e 2d 3e 55 6e 72 | 65 61 6c 69 7a 65 57 69 |een->Unr|ealizeWi|
|00004dd0| 6e 64 6f 77 20 3d 20 58 | 76 72 6f 70 55 6e 72 65 |ndow = X|vropUnre|
|00004de0| 61 6c 69 7a 65 57 69 6e | 64 6f 77 3b 0a 0a 20 20 |alizeWin|dow;.. |
|00004df0| 70 72 6f 70 73 2d 3e 43 | 6f 70 79 57 69 6e 64 6f |props->C|opyWindo|
|00004e00| 77 20 3d 20 70 53 63 72 | 65 65 6e 2d 3e 43 6f 70 |w = pScr|een->Cop|
|00004e10| 79 57 69 6e 64 6f 77 3b | 0a 20 20 70 53 63 72 65 |yWindow;|. pScre|
|00004e20| 65 6e 2d 3e 43 6f 70 79 | 57 69 6e 64 6f 77 20 3d |en->Copy|Window =|
|00004e30| 20 58 76 72 6f 70 43 6f | 70 79 57 69 6e 64 6f 77 | XvropCo|pyWindow|
|00004e40| 3b 0a 0a 20 20 70 72 6f | 70 73 2d 3e 43 6c 69 70 |;.. pro|ps->Clip|
|00004e50| 4e 6f 74 69 66 79 20 3d | 20 70 53 63 72 65 65 6e |Notify =| pScreen|
|00004e60| 2d 3e 43 6c 69 70 4e 6f | 74 69 66 79 3b 0a 20 20 |->ClipNo|tify;. |
|00004e70| 70 53 63 72 65 65 6e 2d | 3e 43 6c 69 70 4e 6f 74 |pScreen-|>ClipNot|
|00004e80| 69 66 79 20 3d 20 58 76 | 72 6f 70 43 6c 69 70 4e |ify = Xv|ropClipN|
|00004e90| 6f 74 69 66 79 3b 0a 0a | 20 20 72 65 74 75 72 6e |otify;..| return|
|00004ea0| 20 53 75 63 63 65 73 73 | 3b 0a 7d 0a 0a 73 74 61 | Success|;.}..sta|
|00004eb0| 74 69 63 20 69 6e 74 0a | 58 76 72 6f 70 49 6e 69 |tic int.|XvropIni|
|00004ec0| 74 41 64 61 70 74 6f 72 | 28 70 53 63 72 65 65 6e |tAdaptor|(pScreen|
|00004ed0| 29 0a 0a 53 63 72 65 65 | 6e 50 74 72 20 70 53 63 |)..Scree|nPtr pSc|
|00004ee0| 72 65 65 6e 3b 0a 0a 7b | 0a 20 20 69 6e 74 20 69 |reen;..{|. int i|
|00004ef0| 64 2c 73 74 61 74 75 73 | 2c 63 6f 75 6e 74 2c 6e |d,status|,count,n|
|00004f00| 70 2c 6e 65 2c 6e 64 2c | 6e 76 2c 6e 66 2c 74 66 |p,ne,nd,|nv,nf,tf|
|00004f10| 2c 6e 61 2c 6e 76 69 73 | 3b 0a 20 20 58 76 53 63 |,na,nvis|;. XvSc|
|00004f20| 72 65 65 6e 50 74 72 20 | 70 78 76 73 3b 0a 20 20 |reenPtr |pxvs;. |
|00004f30| 58 76 41 64 61 70 74 6f | 72 50 74 72 20 70 61 2c |XvAdapto|rPtr pa,|
|00004f40| 70 61 73 3b 0a 20 20 58 | 76 50 6f 72 74 50 74 72 |pas;. X|vPortPtr|
|00004f50| 20 70 70 2c 70 70 73 3b | 0a 20 20 58 76 72 6f 70 | pp,pps;|. Xvrop|
|00004f60| 50 6f 72 74 50 74 72 20 | 70 70 70 3b 0a 20 20 58 |PortPtr |ppp;. X|
|00004f70| 76 45 6e 63 6f 64 69 6e | 67 50 74 72 20 70 65 2c |vEncodin|gPtr pe,|
|00004f80| 70 65 73 3b 0a 20 20 58 | 76 46 6f 72 6d 61 74 50 |pes;. X|vFormatP|
|00004f90| 74 72 20 70 66 2c 70 66 | 73 3b 0a 20 20 75 6e 73 |tr pf,pf|s;. uns|
|00004fa0| 69 67 6e 65 64 20 6c 6f | 6e 67 20 2a 70 76 3b 0a |igned lo|ng *pv;.|
|00004fb0| 20 20 56 69 73 75 61 6c | 50 74 72 20 70 76 69 73 | Visual|Ptr pvis|
|00004fc0| 3b 0a 20 20 44 65 70 74 | 68 50 74 72 20 70 64 3b |;. Dept|hPtr pd;|
|00004fd0| 0a 20 20 70 6f 69 6e 74 | 65 72 20 70 72 6f 70 3b |. point|er prop;|
|00004fe0| 0a 0a 20 20 69 66 20 28 | 21 28 70 72 6f 70 20 3d |.. if (|!(prop =|
|00004ff0| 20 58 76 72 6f 70 50 69 | 70 49 6e 69 74 28 70 53 | XvropPi|pInit(pS|
|00005000| 63 72 65 65 6e 29 29 29 | 0a 20 20 20 20 72 65 74 |creen)))|. ret|
|00005010| 75 72 6e 20 53 75 63 63 | 65 73 73 3b 0a 0a 20 20 |urn Succ|ess;.. |
|00005020| 70 78 76 73 20 3d 20 28 | 58 76 53 63 72 65 65 6e |pxvs = (|XvScreen|
|00005030| 50 74 72 29 20 70 53 63 | 72 65 65 6e 2d 3e 64 65 |Ptr) pSc|reen->de|
|00005040| 76 50 72 69 76 61 74 65 | 73 5b 58 76 53 63 72 65 |vPrivate|s[XvScre|
|00005050| 65 6e 49 6e 64 65 78 5d | 2e 70 74 72 3b 0a 0a 20 |enIndex]|.ptr;.. |
|00005060| 20 70 61 73 20 3d 20 28 | 58 76 41 64 61 70 74 6f | pas = (|XvAdapto|
|00005070| 72 50 74 72 29 78 61 6c | 6c 6f 63 28 73 69 7a 65 |rPtr)xal|loc(size|
|00005080| 6f 66 28 58 76 41 64 61 | 70 74 6f 72 52 65 63 29 |of(XvAda|ptorRec)|
|00005090| 29 3b 0a 20 20 69 66 20 | 28 21 70 61 73 29 0a 20 |);. if |(!pas). |
|000050a0| 20 20 20 7b 0a 20 20 20 | 20 20 20 46 61 74 61 6c | {. | Fatal|
|000050b0| 45 72 72 6f 72 28 22 58 | 76 72 6f 70 49 6e 69 74 |Error("X|vropInit|
|000050c0| 41 64 61 70 74 6f 72 73 | 3a 20 63 6f 75 64 6e 27 |Adaptors|: coudn'|
|000050d0| 74 20 61 6c 6c 6f 63 20 | 41 64 61 70 74 6f 72 20 |t alloc |Adaptor |
|000050e0| 73 74 72 75 63 74 5c 6e | 22 29 3b 0a 20 20 20 20 |struct\n|");. |
|000050f0| 7d 0a 20 20 70 61 20 3d | 20 70 61 73 3b 0a 0a 20 |}. pa =| pas;.. |
|00005100| 20 66 6f 72 20 28 6e 61 | 20 3d 20 30 3b 20 6e 61 | for (na| = 0; na|
|00005110| 3c 58 56 52 4f 50 5f 4e | 55 4d 5f 41 44 41 50 54 |<XVROP_N|UM_ADAPT|
|00005120| 4f 52 53 3b 20 6e 61 2b | 2b 29 0a 20 20 20 20 7b |ORS; na+|+). {|
|00005130| 0a 0a 20 20 20 20 20 20 | 70 65 73 20 3d 20 28 58 |.. |pes = (X|
|00005140| 76 45 6e 63 6f 64 69 6e | 67 50 74 72 29 78 61 6c |vEncodin|gPtr)xal|
|00005150| 6c 6f 63 28 73 69 7a 65 | 6f 66 28 58 76 45 6e 63 |loc(size|of(XvEnc|
|00005160| 6f 64 69 6e 67 52 65 63 | 29 2a 58 76 72 6f 70 4e |odingRec|)*XvropN|
|00005170| 75 6d 45 6e 63 6f 64 69 | 6e 67 73 5b 6e 61 5d 29 |umEncodi|ngs[na])|
|00005180| 3b 0a 20 20 20 20 20 20 | 69 66 20 28 21 70 65 73 |;. |if (!pes|
|00005190| 29 0a 09 7b 0a 09 20 20 | 46 61 74 61 6c 45 72 72 |)..{.. |FatalErr|
|000051a0| 6f 72 28 22 58 76 72 6f | 70 49 6e 69 74 41 64 61 |or("Xvro|pInitAda|
|000051b0| 70 74 6f 72 73 3a 20 63 | 6f 75 64 6e 27 74 20 61 |ptors: c|oudn't a|
|000051c0| 6c 6c 6f 63 20 45 6e 63 | 6f 64 69 6e 67 20 73 74 |lloc Enc|oding st|
|000051d0| 72 75 63 74 5c 6e 22 29 | 3b 0a 09 7d 0a 0a 20 20 |ruct\n")|;..}.. |
|000051e0| 20 20 20 20 70 65 20 3d | 20 70 65 73 3b 0a 0a 20 | pe =| pes;.. |
|000051f0| 20 20 20 20 20 66 6f 72 | 20 28 6e 65 20 3d 20 30 | for| (ne = 0|
|00005200| 3b 20 6e 65 3c 58 76 72 | 6f 70 4e 75 6d 45 6e 63 |; ne<Xvr|opNumEnc|
|00005210| 6f 64 69 6e 67 73 5b 6e | 61 5d 3b 20 6e 65 2b 2b |odings[n|a]; ne++|
|00005220| 29 0a 09 7b 0a 09 20 20 | 2a 70 65 20 3d 20 58 76 |)..{.. |*pe = Xv|
|00005230| 72 6f 70 45 6e 63 6f 64 | 69 6e 67 73 5b 6e 61 5d |ropEncod|ings[na]|
|00005240| 5b 6e 65 5d 3b 0a 09 20 | 20 70 65 2d 3e 70 53 63 |[ne];.. | pe->pSc|
|00005250| 72 65 65 6e 20 3d 20 70 | 53 63 72 65 65 6e 3b 0a |reen = p|Screen;.|
|00005260| 09 20 20 0a 09 20 20 70 | 65 2b 2b 3b 0a 09 7d 0a |. .. p|e++;..}.|
|00005270| 0a 20 20 20 20 20 20 70 | 70 73 20 3d 20 28 58 76 |. p|ps = (Xv|
|00005280| 50 6f 72 74 50 74 72 29 | 78 61 6c 6c 6f 63 28 73 |PortPtr)|xalloc(s|
|00005290| 69 7a 65 6f 66 28 58 76 | 50 6f 72 74 52 65 63 29 |izeof(Xv|PortRec)|
|000052a0| 2a 58 76 72 6f 70 4e 75 | 6d 50 6f 72 74 73 5b 6e |*XvropNu|mPorts[n|
|000052b0| 61 5d 29 3b 0a 20 20 20 | 20 20 20 69 66 20 28 21 |a]);. | if (!|
|000052c0| 70 70 73 29 0a 09 7b 0a | 09 20 20 46 61 74 61 6c |pps)..{.|. Fatal|
|000052d0| 45 72 72 6f 72 28 22 58 | 76 72 6f 70 49 6e 69 74 |Error("X|vropInit|
|000052e0| 41 64 61 70 74 6f 72 73 | 3a 20 63 6f 75 64 6e 27 |Adaptors|: coudn'|
|000052f0| 74 20 61 6c 6c 6f 63 20 | 50 6f 72 74 20 73 74 72 |t alloc |Port str|
|00005300| 75 63 74 5c 6e 22 29 3b | 0a 09 7d 0a 20 20 20 20 |uct\n");|..}. |
|00005310| 20 20 70 70 20 3d 20 70 | 70 73 3b 0a 0a 20 20 20 | pp = p|ps;.. |
|00005320| 20 20 20 66 6f 72 20 28 | 6e 70 20 3d 20 30 3b 20 | for (|np = 0; |
|00005330| 6e 70 3c 58 76 72 6f 70 | 4e 75 6d 50 6f 72 74 73 |np<Xvrop|NumPorts|
|00005340| 5b 6e 61 5d 3b 20 6e 70 | 2b 2b 29 0a 09 7b 0a 09 |[na]; np|++)..{..|
|00005350| 20 20 69 64 20 3d 20 46 | 61 6b 65 43 6c 69 65 6e | id = F|akeClien|
|00005360| 74 49 44 28 30 29 3b 0a | 09 20 20 0a 09 20 20 69 |tID(0);.|. .. i|
|00005370| 66 20 28 21 41 64 64 52 | 65 73 6f 75 72 63 65 28 |f (!AddR|esource(|
|00005380| 69 64 2c 20 58 76 52 54 | 50 6f 72 74 2c 20 70 70 |id, XvRT|Port, pp|
|00005390| 29 29 0a 09 20 20 20 20 | 7b 0a 09 20 20 20 20 20 |)).. |{.. |
|000053a0| 20 46 61 74 61 6c 45 72 | 72 6f 72 28 22 58 76 64 | FatalEr|ror("Xvd|
|000053b0| 64 49 6e 69 74 53 63 72 | 65 65 6e 3a 20 63 6f 75 |dInitScr|een: cou|
|000053c0| 6c 64 6e 27 74 20 61 64 | 64 20 50 6f 72 74 20 72 |ldn't ad|d Port r|
|000053d0| 65 73 6f 75 72 63 65 5c | 6e 22 29 3b 0a 09 20 20 |esource\|n");.. |
|000053e0| 20 20 7d 0a 09 20 20 0a | 09 20 20 2f 2a 20 4d 41 | }.. .|. /* MA|
|000053f0| 4e 55 41 4c 4c 59 20 46 | 49 4c 4c 20 49 4e 20 50 |NUALLY F|ILL IN P|
|00005400| 4f 52 54 20 53 54 52 55 | 43 54 55 52 45 20 2a 2f |ORT STRU|CTURE */|
|00005410| 0a 09 20 20 0a 09 20 20 | 70 70 2d 3e 69 64 20 3d |.. .. |pp->id =|
|00005420| 20 69 64 3b 0a 09 20 20 | 70 70 2d 3e 70 41 64 61 | id;.. |pp->pAda|
|00005430| 70 74 6f 72 20 3d 20 70 | 61 3b 0a 09 20 20 70 70 |ptor = p|a;.. pp|
|00005440| 2d 3e 70 44 72 61 77 20 | 3d 20 28 44 72 61 77 61 |->pDraw |= (Drawa|
|00005450| 62 6c 65 50 74 72 29 4e | 55 4c 4c 3b 0a 09 20 20 |blePtr)N|ULL;.. |
|00005460| 70 70 2d 3e 67 72 61 62 | 2e 63 6c 69 65 6e 74 20 |pp->grab|.client |
|00005470| 3d 20 28 43 6c 69 65 6e | 74 50 74 72 29 4e 55 4c |= (Clien|tPtr)NUL|
|00005480| 4c 3b 0a 09 20 20 70 70 | 2d 3e 74 69 6d 65 20 3d |L;.. pp|->time =|
|00005490| 20 63 75 72 72 65 6e 74 | 54 69 6d 65 3b 0a 09 20 | current|Time;.. |
|000054a0| 20 70 70 2d 3e 70 4e 6f | 74 69 66 79 20 3d 20 28 | pp->pNo|tify = (|
|000054b0| 58 76 50 6f 72 74 4e 6f | 74 69 66 79 50 74 72 29 |XvPortNo|tifyPtr)|
|000054c0| 4e 55 4c 4c 3b 0a 09 20 | 20 70 70 70 20 3d 20 28 |NULL;.. | ppp = (|
|000054d0| 58 76 72 6f 70 50 6f 72 | 74 50 74 72 29 78 61 6c |XvropPor|tPtr)xal|
|000054e0| 6c 6f 63 28 73 69 7a 65 | 6f 66 28 58 76 72 6f 70 |loc(size|of(Xvrop|
|000054f0| 50 6f 72 74 52 65 63 29 | 29 3b 0a 09 20 20 70 70 |PortRec)|);.. pp|
|00005500| 2d 3e 64 65 76 50 72 69 | 76 2e 70 74 72 20 3d 20 |->devPri|v.ptr = |
|00005510| 28 70 6f 69 6e 74 65 72 | 29 70 70 70 3b 0a 0a 09 |(pointer|)ppp;...|
|00005520| 20 20 70 70 70 2d 3e 70 | 47 43 20 3d 20 28 47 43 | ppp->p|GC = (GC|
|00005530| 50 74 72 29 4e 55 4c 4c | 3b 0a 09 20 20 70 70 70 |Ptr)NULL|;.. ppp|
|00005540| 2d 3e 70 45 6e 63 6f 64 | 69 6e 67 20 3d 20 70 65 |->pEncod|ing = pe|
|00005550| 73 3b 20 2f 2a 20 58 58 | 58 2d 2d 2d 53 48 4f 55 |s; /* XX|X---SHOU|
|00005560| 4c 44 20 42 45 20 41 20 | 43 4f 4d 4d 41 4e 44 20 |LD BE A |COMMAND |
|00005570| 4c 49 4e 45 20 41 52 47 | 20 2a 2f 0a 09 20 20 70 |LINE ARG| */.. p|
|00005580| 70 70 2d 3e 68 75 65 20 | 3d 20 30 3b 0a 09 20 20 |pp->hue |= 0;.. |
|00005590| 70 70 70 2d 3e 73 61 74 | 75 72 61 74 69 6f 6e 20 |ppp->sat|uration |
|000055a0| 3d 20 30 3b 0a 09 20 20 | 70 70 70 2d 3e 62 72 69 |= 0;.. |ppp->bri|
|000055b0| 67 68 74 6e 65 73 73 20 | 3d 20 30 3b 0a 09 20 20 |ghtness |= 0;.. |
|000055c0| 70 70 70 2d 3e 63 6f 6e | 74 72 61 73 74 20 3d 20 |ppp->con|trast = |
|000055d0| 30 3b 0a 09 20 20 70 70 | 70 2d 3e 73 65 72 69 61 |0;.. pp|p->seria|
|000055e0| 6c 4e 75 6d 62 65 72 20 | 3d 20 30 3b 0a 0a 09 20 |lNumber |= 0;... |
|000055f0| 20 2f 2a 20 53 41 56 45 | 20 48 41 4e 44 4c 45 20 | /* SAVE| HANDLE |
|00005600| 54 4f 20 44 45 56 49 43 | 45 20 44 52 49 56 45 52 |TO DEVIC|E DRIVER|
|00005610| 20 2a 2f 0a 0a 09 20 20 | 70 70 70 2d 3e 70 72 6f | */... |ppp->pro|
|00005620| 70 20 3d 20 70 72 6f 70 | 3b 20 0a 0a 09 20 20 2f |p = prop|; ... /|
|00005630| 2a 20 53 45 54 20 44 45 | 46 41 55 4c 54 20 45 4e |* SET DE|FAULT EN|
|00005640| 43 4f 44 49 4e 47 3b 20 | 4e 4f 54 20 47 52 41 59 |CODING; |NOT GRAY|
|00005650| 20 2a 2f 0a 0a 09 20 20 | 70 70 70 2d 3e 67 72 61 | */... |ppp->gra|
|00005660| 79 20 3d 20 46 41 4c 53 | 45 3b 0a 0a 09 20 20 70 |y = FALS|E;... p|
|00005670| 69 70 5f 73 6f 75 72 63 | 65 5f 74 79 70 65 28 70 |ip_sourc|e_type(p|
|00005680| 70 70 2d 3e 70 72 6f 70 | 2c 20 70 70 70 2d 3e 70 |pp->prop|, ppp->p|
|00005690| 45 6e 63 6f 64 69 6e 67 | 2d 3e 69 64 29 3b 0a 0a |Encoding|->id);..|
|000056a0| 09 20 20 70 70 2b 2b 3b | 0a 09 20 20 0a 09 7d 0a |. pp++;|.. ..}.|
|000056b0| 0a 20 20 20 20 20 20 6e | 66 20 3d 20 30 3b 0a 20 |. n|f = 0;. |
|000056c0| 20 20 20 20 20 74 66 20 | 3d 20 58 76 72 6f 70 4e | tf |= XvropN|
|000056d0| 75 6d 46 6f 72 6d 61 74 | 73 5b 6e 61 5d 3b 0a 20 |umFormat|s[na];. |
|000056e0| 20 20 20 20 20 70 66 73 | 20 3d 20 28 58 76 46 6f | pfs| = (XvFo|
|000056f0| 72 6d 61 74 50 74 72 29 | 78 61 6c 6c 6f 63 28 73 |rmatPtr)|xalloc(s|
|00005700| 69 7a 65 6f 66 28 58 76 | 46 6f 72 6d 61 74 52 65 |izeof(Xv|FormatRe|
|00005710| 63 29 2a 74 66 29 3b 0a | 20 20 20 20 20 20 69 66 |c)*tf);.| if|
|00005720| 20 28 21 70 66 73 29 0a | 09 7b 0a 09 20 20 46 61 | (!pfs).|.{.. Fa|
|00005730| 74 61 6c 45 72 72 6f 72 | 28 22 58 76 72 6f 70 49 |talError|("XvropI|
|00005740| 6e 69 74 41 64 61 70 74 | 6f 72 73 3a 20 63 6f 75 |nitAdapt|ors: cou|
|00005750| 6c 64 6e 27 74 20 61 6c | 6c 6f 63 20 46 6f 72 6d |ldn't al|loc Form|
|00005760| 61 74 20 73 74 72 75 63 | 74 5c 6e 22 29 3b 0a 09 |at struc|t\n");..|
|00005770| 7d 0a 20 20 20 20 20 20 | 70 66 20 3d 20 70 66 73 |}. |pf = pfs|
|00005780| 3b 0a 0a 20 20 20 20 20 | 20 70 64 20 3d 20 70 53 |;.. | pd = pS|
|00005790| 63 72 65 65 6e 2d 3e 61 | 6c 6c 6f 77 65 64 44 65 |creen->a|llowedDe|
|000057a0| 70 74 68 73 3b 0a 20 20 | 20 20 20 20 66 6f 72 20 |pths;. | for |
|000057b0| 28 6e 64 3d 30 3b 20 6e | 64 3c 70 53 63 72 65 65 |(nd=0; n|d<pScree|
|000057c0| 6e 2d 3e 6e 75 6d 44 65 | 70 74 68 73 3b 20 6e 64 |n->numDe|pths; nd|
|000057d0| 2b 2b 29 0a 09 7b 0a 09 | 20 20 69 66 20 28 70 64 |++)..{..| if (pd|
|000057e0| 2d 3e 64 65 70 74 68 20 | 3d 3d 20 32 34 29 0a 09 |->depth |== 24)..|
|000057f0| 20 20 20 20 7b 0a 09 20 | 20 20 20 20 20 70 76 20 | {.. | pv |
|00005800| 3d 20 70 64 2d 3e 76 69 | 64 73 3b 0a 09 20 20 20 |= pd->vi|ds;.. |
|00005810| 20 20 20 66 6f 72 20 28 | 6e 76 3d 30 3b 20 6e 76 | for (|nv=0; nv|
|00005820| 3c 70 64 2d 3e 6e 75 6d | 56 69 64 73 3b 20 6e 76 |<pd->num|Vids; nv|
|00005830| 2b 2b 29 0a 09 09 7b 0a | 09 09 20 20 69 66 20 28 |++)...{.|.. if (|
|00005840| 6e 66 20 3e 3d 20 74 66 | 29 20 0a 09 09 20 20 20 |nf >= tf|) ... |
|00005850| 20 7b 0a 09 09 20 20 20 | 20 20 20 74 66 20 2a 3d | {... | tf *=|
|00005860| 20 32 3b 0a 09 09 20 20 | 20 20 20 20 70 66 73 20 | 2;... | pfs |
|00005870| 3d 20 28 58 76 46 6f 72 | 6d 61 74 50 74 72 29 78 |= (XvFor|matPtr)x|
|00005880| 72 65 61 6c 6c 6f 63 28 | 70 66 73 2c 20 73 69 7a |realloc(|pfs, siz|
|00005890| 65 6f 66 28 58 76 46 6f | 72 6d 61 74 52 65 63 29 |eof(XvFo|rmatRec)|
|000058a0| 2a 74 66 29 3b 0a 09 09 | 20 20 20 20 20 20 70 66 |*tf);...| pf|
|000058b0| 20 3d 20 26 70 66 73 5b | 6e 66 5d 3b 0a 09 09 20 | = &pfs[|nf];... |
|000058c0| 20 20 20 7d 0a 09 09 20 | 20 0a 09 09 20 20 70 66 | }... | ... pf|
|000058d0| 2d 3e 64 65 70 74 68 20 | 3d 20 70 64 2d 3e 64 65 |->depth |= pd->de|
|000058e0| 70 74 68 3b 0a 09 09 20 | 20 70 66 2d 3e 76 69 73 |pth;... | pf->vis|
|000058f0| 75 61 6c 20 3d 20 2a 70 | 76 3b 0a 09 09 20 20 70 |ual = *p|v;... p|
|00005900| 66 2b 2b 3b 0a 09 09 20 | 20 6e 66 2b 2b 3b 0a 09 |f++;... | nf++;..|
|00005910| 09 20 20 70 76 2b 2b 3b | 0a 09 09 7d 0a 09 20 20 |. pv++;|...}.. |
|00005920| 20 20 7d 0a 09 20 20 70 | 64 2b 2b 3b 0a 09 7d 0a | }.. p|d++;..}.|
|00005930| 0a 20 20 20 20 20 20 2f | 2a 20 46 49 4e 44 20 53 |. /|* FIND S|
|00005940| 54 41 54 49 43 20 47 52 | 41 59 20 56 49 53 55 41 |TATIC GR|AY VISUA|
|00005950| 4c 20 2a 2f 0a 0a 20 20 | 20 20 20 20 70 76 69 73 |L */.. | pvis|
|00005960| 20 3d 20 70 53 63 72 65 | 65 6e 2d 3e 76 69 73 75 | = pScre|en->visu|
|00005970| 61 6c 73 3b 0a 20 20 20 | 20 20 20 66 6f 72 20 28 |als;. | for (|
|00005980| 6e 76 69 73 3d 30 3b 20 | 6e 76 69 73 3c 70 53 63 |nvis=0; |nvis<pSc|
|00005990| 72 65 65 6e 2d 3e 6e 75 | 6d 56 69 73 75 61 6c 73 |reen->nu|mVisuals|
|000059a0| 3b 20 6e 76 69 73 2b 2b | 29 0a 09 7b 0a 09 20 20 |; nvis++|)..{.. |
|000059b0| 69 66 20 28 70 76 69 73 | 2d 3e 63 6c 61 73 73 20 |if (pvis|->class |
|000059c0| 3d 3d 20 53 74 61 74 69 | 63 47 72 61 79 29 20 62 |== Stati|cGray) b|
|000059d0| 72 65 61 6b 3b 0a 09 20 | 20 70 76 69 73 2b 2b 3b |reak;.. | pvis++;|
|000059e0| 0a 09 7d 0a 0a 20 20 20 | 20 20 20 2f 2a 20 49 46 |..}.. | /* IF|
|000059f0| 20 57 45 20 46 4f 55 4e | 44 20 4f 4e 45 20 54 48 | WE FOUN|D ONE TH|
|00005a00| 45 4e 20 46 49 4e 44 20 | 4d 41 54 43 48 49 4e 47 |EN FIND |MATCHING|
|00005a10| 20 44 45 50 54 48 20 56 | 49 53 55 41 4c 49 44 20 | DEPTH V|ISUALID |
|00005a20| 2a 2f 0a 0a 20 20 20 20 | 20 20 69 66 20 28 6e 76 |*/.. | if (nv|
|00005a30| 69 73 20 3c 20 70 53 63 | 72 65 65 6e 2d 3e 6e 75 |is < pSc|reen->nu|
|00005a40| 6d 56 69 73 75 61 6c 73 | 29 0a 09 7b 0a 09 20 20 |mVisuals|)..{.. |
|00005a50| 70 64 20 3d 20 70 53 63 | 72 65 65 6e 2d 3e 61 6c |pd = pSc|reen->al|
|00005a60| 6c 6f 77 65 64 44 65 70 | 74 68 73 3b 0a 09 20 20 |lowedDep|ths;.. |
|00005a70| 66 6f 72 20 28 6e 64 3d | 30 3b 20 6e 64 3c 70 53 |for (nd=|0; nd<pS|
|00005a80| 63 72 65 65 6e 2d 3e 6e | 75 6d 44 65 70 74 68 73 |creen->n|umDepths|
|00005a90| 3b 20 6e 64 2b 2b 29 0a | 09 20 20 20 20 7b 0a 09 |; nd++).|. {..|
|00005aa0| 20 20 20 20 20 20 69 66 | 20 28 70 64 2d 3e 64 65 | if| (pd->de|
|00005ab0| 70 74 68 20 3d 3d 20 38 | 29 0a 09 09 7b 0a 09 09 |pth == 8|)...{...|
|00005ac0| 20 20 70 76 20 3d 20 70 | 64 2d 3e 76 69 64 73 3b | pv = p|d->vids;|
|00005ad0| 0a 09 09 20 20 66 6f 72 | 20 28 6e 76 3d 30 3b 20 |... for| (nv=0; |
|00005ae0| 6e 76 3c 70 64 2d 3e 6e | 75 6d 56 69 64 73 3b 20 |nv<pd->n|umVids; |
|00005af0| 6e 76 2b 2b 29 0a 09 09 | 20 20 20 20 7b 0a 09 09 |nv++)...| {...|
|00005b00| 20 20 20 20 20 20 69 66 | 20 28 70 76 69 73 2d 3e | if| (pvis->|
|00005b10| 76 69 64 20 3d 3d 20 2a | 70 76 29 0a 09 09 09 7b |vid == *|pv)....{|
|00005b20| 0a 09 09 09 20 20 69 66 | 20 28 6e 66 20 3e 3d 20 |.... if| (nf >= |
|00005b30| 74 66 29 20 0a 09 09 09 | 20 20 20 20 7b 0a 09 09 |tf) ....| {...|
|00005b40| 09 20 20 20 20 20 20 74 | 66 20 2a 3d 20 32 3b 0a |. t|f *= 2;.|
|00005b50| 09 09 09 20 20 20 20 20 | 20 70 66 73 20 3d 20 28 |... | pfs = (|
|00005b60| 58 76 46 6f 72 6d 61 74 | 50 74 72 29 0a 09 09 09 |XvFormat|Ptr)....|
|00005b70| 09 78 72 65 61 6c 6c 6f | 63 28 70 66 73 2c 20 73 |.xreallo|c(pfs, s|
|00005b80| 69 7a 65 6f 66 28 58 76 | 46 6f 72 6d 61 74 52 65 |izeof(Xv|FormatRe|
|00005b90| 63 29 2a 74 66 29 3b 0a | 09 09 09 20 20 20 20 20 |c)*tf);.|... |
|00005ba0| 20 70 66 20 3d 20 26 70 | 66 73 5b 6e 66 5d 3b 0a | pf = &p|fs[nf];.|
|00005bb0| 09 09 09 20 20 20 20 7d | 0a 09 09 09 20 20 70 66 |... }|.... pf|
|00005bc0| 2d 3e 64 65 70 74 68 20 | 3d 20 70 64 2d 3e 64 65 |->depth |= pd->de|
|00005bd0| 70 74 68 3b 0a 09 09 09 | 20 20 70 66 2d 3e 76 69 |pth;....| pf->vi|
|00005be0| 73 75 61 6c 20 3d 20 2a | 70 76 3b 0a 09 09 09 20 |sual = *|pv;.... |
|00005bf0| 20 70 66 2b 2b 3b 0a 09 | 09 09 20 20 6e 66 2b 2b | pf++;..|.. nf++|
|00005c00| 3b 0a 09 09 09 20 20 62 | 72 65 61 6b 3b 0a 09 09 |;.... b|reak;...|
|00005c10| 09 7d 0a 09 09 20 20 20 | 20 20 20 70 76 2b 2b 3b |.}... | pv++;|
|00005c20| 0a 09 09 20 20 20 20 7d | 0a 09 09 7d 0a 09 20 20 |... }|...}.. |
|00005c30| 20 20 20 20 70 64 2b 2b | 3b 0a 09 20 20 20 20 7d | pd++|;.. }|
|00005c40| 0a 09 7d 0a 20 20 20 20 | 20 20 58 76 72 6f 70 4e |..}. | XvropN|
|00005c50| 75 6d 46 6f 72 6d 61 74 | 73 5b 6e 61 5d 20 3d 20 |umFormat|s[na] = |
|00005c60| 6e 66 3b 0a 0a 20 20 20 | 20 20 20 70 70 20 3d 20 |nf;.. | pp = |
|00005c70| 70 70 73 2b 6e 61 3b 0a | 20 20 20 20 20 20 70 61 |pps+na;.| pa|
|00005c80| 2d 3e 62 61 73 65 5f 69 | 64 20 3d 20 70 70 2d 3e |->base_i|d = pp->|
|00005c90| 69 64 3b 0a 20 20 20 20 | 20 20 70 61 2d 3e 74 79 |id;. | pa->ty|
|00005ca0| 70 65 20 3d 20 58 76 49 | 6e 70 75 74 4d 61 73 6b |pe = XvI|nputMask|
|00005cb0| 3b 0a 20 20 20 20 20 20 | 70 61 2d 3e 6e 61 6d 65 |;. |pa->name|
|00005cc0| 20 3d 20 22 52 61 73 74 | 65 72 4f 70 73 22 3b 0a | = "Rast|erOps";.|
|00005cd0| 20 20 20 20 20 20 70 61 | 2d 3e 6e 45 6e 63 6f 64 | pa|->nEncod|
|00005ce0| 69 6e 67 73 20 3d 20 6e | 65 3b 0a 20 20 20 20 20 |ings = n|e;. |
|00005cf0| 20 70 61 2d 3e 70 45 6e | 63 6f 64 69 6e 67 73 20 | pa->pEn|codings |
|00005d00| 3d 20 70 65 73 3b 0a 20 | 20 20 20 20 20 70 61 2d |= pes;. | pa-|
|00005d10| 3e 6e 50 6f 72 74 73 20 | 3d 20 6e 70 3b 0a 20 20 |>nPorts |= np;. |
|00005d20| 20 20 20 20 70 61 2d 3e | 70 50 6f 72 74 73 20 3d | pa->|pPorts =|
|00005d30| 20 70 70 73 3b 0a 20 20 | 20 20 20 20 70 61 2d 3e | pps;. | pa->|
|00005d40| 6e 46 6f 72 6d 61 74 73 | 20 3d 20 6e 66 3b 0a 20 |nFormats| = nf;. |
|00005d50| 20 20 20 20 20 70 61 2d | 3e 70 46 6f 72 6d 61 74 | pa-|>pFormat|
|00005d60| 73 20 3d 20 70 66 73 3b | 0a 20 20 20 20 20 20 70 |s = pfs;|. p|
|00005d70| 61 2d 3e 70 53 63 72 65 | 65 6e 20 3d 20 70 53 63 |a->pScre|en = pSc|
|00005d80| 72 65 65 6e 3b 0a 20 20 | 20 20 20 20 70 61 2d 3e |reen;. | pa->|
|00005d90| 64 64 41 6c 6c 6f 63 61 | 74 65 50 6f 72 74 20 3d |ddAlloca|tePort =|
|00005da0| 20 58 76 72 6f 70 41 6c | 6c 6f 63 61 74 65 50 6f | XvropAl|locatePo|
|00005db0| 72 74 3b 0a 20 20 20 20 | 20 20 70 61 2d 3e 64 64 |rt;. | pa->dd|
|00005dc0| 46 72 65 65 50 6f 72 74 | 20 3d 20 58 76 72 6f 70 |FreePort| = Xvrop|
|00005dd0| 46 72 65 65 50 6f 72 74 | 3b 0a 20 20 20 20 20 20 |FreePort|;. |
|00005de0| 70 61 2d 3e 64 64 50 75 | 74 56 69 64 65 6f 20 3d |pa->ddPu|tVideo =|
|00005df0| 20 58 76 72 6f 70 50 75 | 74 56 69 64 65 6f 3b 0a | XvropPu|tVideo;.|
|00005e00| 20 20 20 20 20 20 70 61 | 2d 3e 64 64 50 75 74 53 | pa|->ddPutS|
|00005e10| 74 69 6c 6c 20 3d 20 58 | 76 72 6f 70 50 75 74 53 |till = X|vropPutS|
|00005e20| 74 69 6c 6c 3b 0a 20 20 | 20 20 20 20 70 61 2d 3e |till;. | pa->|
|00005e30| 64 64 47 65 74 56 69 64 | 65 6f 20 3d 20 58 76 72 |ddGetVid|eo = Xvr|
|00005e40| 6f 70 47 65 74 56 69 64 | 65 6f 3b 0a 20 20 20 20 |opGetVid|eo;. |
|00005e50| 20 20 70 61 2d 3e 64 64 | 47 65 74 53 74 69 6c 6c | pa->dd|GetStill|
|00005e60| 20 3d 20 58 76 72 6f 70 | 47 65 74 53 74 69 6c 6c | = Xvrop|GetStill|
|00005e70| 3b 0a 20 20 20 20 20 20 | 70 61 2d 3e 64 64 53 74 |;. |pa->ddSt|
|00005e80| 6f 70 56 69 64 65 6f 20 | 3d 20 58 76 72 6f 70 53 |opVideo |= XvropS|
|00005e90| 74 6f 70 56 69 64 65 6f | 3b 0a 20 20 20 20 20 20 |topVideo|;. |
|00005ea0| 70 61 2d 3e 64 64 53 65 | 74 50 6f 72 74 41 74 74 |pa->ddSe|tPortAtt|
|00005eb0| 72 69 62 75 74 65 20 3d | 20 58 76 72 6f 70 53 65 |ribute =| XvropSe|
|00005ec0| 74 50 6f 72 74 41 74 74 | 72 69 62 75 74 65 3b 0a |tPortAtt|ribute;.|
|00005ed0| 20 20 20 20 20 20 70 61 | 2d 3e 64 64 47 65 74 50 | pa|->ddGetP|
|00005ee0| 6f 72 74 41 74 74 72 69 | 62 75 74 65 20 3d 20 58 |ortAttri|bute = X|
|00005ef0| 76 72 6f 70 47 65 74 50 | 6f 72 74 41 74 74 72 69 |vropGetP|ortAttri|
|00005f00| 62 75 74 65 3b 0a 20 20 | 20 20 20 20 70 61 2d 3e |bute;. | pa->|
|00005f10| 64 64 51 75 65 72 79 42 | 65 73 74 53 69 7a 65 20 |ddQueryB|estSize |
|00005f20| 3d 20 58 76 72 6f 70 51 | 75 65 72 79 42 65 73 74 |= XvropQ|ueryBest|
|00005f30| 53 69 7a 65 3b 0a 0a 20 | 20 20 20 20 20 2f 2a 20 |Size;.. | /* |
|00005f40| 41 4c 4c 4f 57 53 20 51 | 55 49 43 4b 20 41 43 43 |ALLOWS Q|UICK ACC|
|00005f50| 45 53 53 20 54 4f 20 50 | 4f 52 54 53 20 42 59 20 |ESS TO P|ORTS BY |
|00005f60| 52 4f 50 20 44 44 20 4d | 4f 44 55 4c 45 20 2a 2f |ROP DD M|ODULE */|
|00005f70| 0a 0a 20 20 20 20 20 20 | 58 76 72 6f 70 50 6f 72 |.. |XvropPor|
|00005f80| 74 73 20 3d 20 70 70 73 | 3b 0a 20 20 20 20 7d 0a |ts = pps|;. }.|
|00005f90| 0a 20 20 70 78 76 73 2d | 3e 6e 41 64 61 70 74 6f |. pxvs-|>nAdapto|
|00005fa0| 72 73 20 3d 20 6e 61 3b | 0a 20 20 70 78 76 73 2d |rs = na;|. pxvs-|
|00005fb0| 3e 70 41 64 61 70 74 6f | 72 73 20 3d 20 70 61 73 |>pAdapto|rs = pas|
|00005fc0| 3b 0a 0a 20 20 2f 2a 20 | 41 4c 4c 4f 43 41 54 45 |;.. /* |ALLOCATE|
|00005fd0| 20 41 54 4f 4d 53 20 46 | 4f 52 20 50 4f 52 54 20 | ATOMS F|OR PORT |
|00005fe0| 41 54 54 52 49 42 55 54 | 45 53 20 2d 2d 2d 20 4d |ATTRIBUT|ES --- M|
|00005ff0| 4f 52 45 20 4c 41 54 45 | 52 20 2a 2f 0a 0a 20 20 |ORE LATE|R */.. |
|00006000| 58 76 72 6f 70 45 6e 63 | 6f 64 69 6e 67 20 3d 20 |XvropEnc|oding = |
|00006010| 4d 61 6b 65 41 74 6f 6d | 28 22 58 56 5f 45 4e 43 |MakeAtom|("XV_ENC|
|00006020| 4f 44 49 4e 47 22 2c 20 | 73 74 72 6c 65 6e 28 22 |ODING", |strlen("|
|00006030| 58 56 5f 45 4e 43 4f 44 | 49 4e 47 22 29 2c 20 78 |XV_ENCOD|ING"), x|
|00006040| 54 72 75 65 29 3b 0a 20 | 20 58 76 72 6f 70 48 75 |True);. | XvropHu|
|00006050| 65 20 3d 20 4d 61 6b 65 | 41 74 6f 6d 28 22 58 56 |e = Make|Atom("XV|
|00006060| 5f 48 55 45 22 2c 20 73 | 74 72 6c 65 6e 28 22 58 |_HUE", s|trlen("X|
|00006070| 56 5f 48 55 45 22 29 2c | 20 78 54 72 75 65 29 3b |V_HUE"),| xTrue);|
|00006080| 0a 20 20 58 76 72 6f 70 | 53 61 74 75 72 61 74 69 |. Xvrop|Saturati|
|00006090| 6f 6e 20 3d 20 4d 61 6b | 65 41 74 6f 6d 28 22 58 |on = Mak|eAtom("X|
|000060a0| 56 5f 53 41 54 55 52 41 | 54 49 4f 4e 22 2c 20 73 |V_SATURA|TION", s|
|000060b0| 74 72 6c 65 6e 28 22 58 | 56 5f 53 41 54 55 52 41 |trlen("X|V_SATURA|
|000060c0| 54 49 4f 4e 22 29 2c 20 | 78 54 72 75 65 29 3b 0a |TION"), |xTrue);.|
|000060d0| 20 20 58 76 72 6f 70 42 | 72 69 67 68 74 6e 65 73 | XvropB|rightnes|
|000060e0| 73 20 3d 20 4d 61 6b 65 | 41 74 6f 6d 28 22 58 56 |s = Make|Atom("XV|
|000060f0| 5f 42 52 49 47 48 54 4e | 45 53 53 22 2c 20 73 74 |_BRIGHTN|ESS", st|
|00006100| 72 6c 65 6e 28 22 58 56 | 5f 42 52 49 47 48 54 4e |rlen("XV|_BRIGHTN|
|00006110| 45 53 53 22 29 2c 20 78 | 54 72 75 65 29 3b 0a 20 |ESS"), x|True);. |
|00006120| 20 58 76 72 6f 70 43 6f | 6e 74 72 61 73 74 20 3d | XvropCo|ntrast =|
|00006130| 20 4d 61 6b 65 41 74 6f | 6d 28 22 58 56 5f 43 4f | MakeAto|m("XV_CO|
|00006140| 4e 54 52 41 53 54 22 2c | 20 73 74 72 6c 65 6e 28 |NTRAST",| strlen(|
|00006150| 22 58 56 5f 43 4f 4e 54 | 52 41 53 54 22 29 2c 20 |"XV_CONT|RAST"), |
|00006160| 78 54 72 75 65 29 3b 0a | 0a 20 20 72 65 74 75 72 |xTrue);.|. retur|
|00006170| 6e 20 53 75 63 63 65 73 | 73 3b 0a 0a 7d 0a 0a 73 |n Succes|s;..}..s|
|00006180| 74 61 74 69 63 20 70 6f | 69 6e 74 65 72 0a 58 76 |tatic po|inter.Xv|
|00006190| 72 6f 70 50 69 70 49 6e | 69 74 28 70 53 63 72 65 |ropPipIn|it(pScre|
|000061a0| 65 6e 29 0a 53 63 72 65 | 65 6e 50 74 72 20 70 53 |en).Scre|enPtr pS|
|000061b0| 63 72 65 65 6e 3b 0a 0a | 7b 0a 20 20 70 6f 69 6e |creen;..|{. poin|
|000061c0| 74 65 72 20 70 72 6f 70 | 3b 0a 0a 20 20 2f 2a 20 |ter prop|;.. /* |
|000061d0| 58 58 58 2d 2d 2d 49 4e | 49 54 20 54 4f 20 55 53 |XXX---IN|IT TO US|
|000061e0| 45 20 4e 54 53 43 3b 20 | 54 48 49 53 20 53 48 4f |E NTSC; |THIS SHO|
|000061f0| 55 4c 44 20 42 45 20 53 | 45 52 56 45 52 20 4f 50 |ULD BE S|ERVER OP|
|00006200| 54 49 4f 4e 20 2a 2f 0a | 0a 20 20 69 66 20 28 21 |TION */.|. if (!|
|00006210| 28 70 72 6f 70 20 3d 20 | 28 70 6f 69 6e 74 65 72 |(prop = |(pointer|
|00006220| 29 70 69 70 5f 69 6e 69 | 74 28 70 53 63 72 65 65 |)pip_ini|t(pScree|
|00006230| 6e 2d 3e 6d 79 4e 75 6d | 2c 20 50 49 50 5f 4e 54 |n->myNum|, PIP_NT|
|00006240| 53 43 20 7c 20 50 49 50 | 5f 43 4f 4d 50 4f 53 49 |SC | PIP|_COMPOSI|
|00006250| 54 45 29 29 29 0a 20 20 | 20 20 72 65 74 75 72 6e |TE))). | return|
|00006260| 20 70 72 6f 70 3b 0a 0a | 20 20 66 69 6c 6c 5f 76 | prop;..| fill_v|
|00006270| 69 64 65 6f 5f 65 6e 61 | 62 6c 65 28 70 72 6f 70 |ideo_ena|ble(prop|
|00006280| 2c 20 30 2c 20 30 2c 20 | 70 53 63 72 65 65 6e 2d |, 0, 0, |pScreen-|
|00006290| 3e 77 69 64 74 68 2c 20 | 70 53 63 72 65 65 6e 2d |>width, |pScreen-|
|000062a0| 3e 68 65 69 67 68 74 2c | 20 30 30 29 3b 0a 0a 20 |>height,| 00);.. |
|000062b0| 20 72 65 74 75 72 6e 20 | 70 72 6f 70 3b 0a 0a 7d | return |prop;..}|
|000062c0| 0a 0a 73 74 61 74 69 63 | 20 42 6f 6f 6c 0a 58 76 |..static| Bool.Xv|
|000062d0| 72 6f 70 43 6c 6f 73 65 | 53 63 72 65 65 6e 28 69 |ropClose|Screen(i|
|000062e0| 69 2c 20 70 53 63 72 65 | 65 6e 29 0a 69 6e 74 20 |i, pScre|en).int |
|000062f0| 69 69 3b 0a 53 63 72 65 | 65 6e 50 74 72 20 70 53 |ii;.Scre|enPtr pS|
|00006300| 63 72 65 65 6e 3b 0a 0a | 7b 0a 20 20 69 6e 74 20 |creen;..|{. int |
|00006310| 6e 70 2c 6e 61 3b 0a 20 | 20 58 76 41 64 61 70 74 |np,na;. | XvAdapt|
|00006320| 6f 72 50 74 72 20 70 61 | 3b 0a 20 20 58 76 50 6f |orPtr pa|;. XvPo|
|00006330| 72 74 50 74 72 20 70 70 | 3b 0a 20 20 58 76 53 63 |rtPtr pp|;. XvSc|
|00006340| 72 65 65 6e 50 74 72 20 | 70 78 76 73 3b 0a 20 20 |reenPtr |pxvs;. |
|00006350| 58 76 72 6f 70 53 63 72 | 65 65 6e 50 74 72 20 70 |XvropScr|eenPtr p|
|00006360| 72 6f 70 73 3b 0a 0a 20 | 20 70 78 76 73 20 3d 20 |rops;.. | pxvs = |
|00006370| 28 58 76 53 63 72 65 65 | 6e 50 74 72 29 20 70 53 |(XvScree|nPtr) pS|
|00006380| 63 72 65 65 6e 2d 3e 64 | 65 76 50 72 69 76 61 74 |creen->d|evPrivat|
|00006390| 65 73 5b 58 76 53 63 72 | 65 65 6e 49 6e 64 65 78 |es[XvScr|eenIndex|
|000063a0| 5d 2e 70 74 72 3b 0a 20 | 20 70 72 6f 70 73 20 3d |].ptr;. | props =|
|000063b0| 20 28 58 76 72 6f 70 53 | 63 72 65 65 6e 50 74 72 | (XvropS|creenPtr|
|000063c0| 29 70 78 76 73 2d 3e 64 | 65 76 50 72 69 76 2e 70 |)pxvs->d|evPriv.p|
|000063d0| 74 72 3b 0a 0a 20 20 69 | 66 20 28 21 70 78 76 73 |tr;.. i|f (!pxvs|
|000063e0| 29 20 72 65 74 75 72 6e | 20 54 52 55 45 3b 0a 0a |) return| TRUE;..|
|000063f0| 20 20 70 53 63 72 65 65 | 6e 2d 3e 57 69 6e 64 6f | pScree|n->Windo|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.